added emdash prefix code to fix latexml bug

This commit is contained in:
Juicysteak117
2025-10-11 13:43:15 -07:00
parent 0aff9b7280
commit 05aaf36127
3 changed files with 30 additions and 23 deletions

View File

@@ -18,6 +18,7 @@ for (i = 0; i < coll.length; i++) {
}
}
/* copy on click for section permalinks */
function copyURI(evt) {
evt.preventDefault();
/* ensures url is without hash, then add on correct hash */
@@ -26,7 +27,7 @@ function copyURI(evt) {
}, () => {
/* clipboard write failed */
});
/* silly little toast */
/* toast that i ripped from w3schools. does not nicely handle being spam clicked. w/e*/
var x = document.getElementById("snackbar");
x.className = "show";
setTimeout(function(){ x.className = x.className.replace("show", ""); }, 2000);