small changes
This commit is contained in:
parent
3070cc92f7
commit
0fd81d31e3
@ -84,7 +84,7 @@
|
|||||||
const new_div = document.createElement("div");
|
const new_div = document.createElement("div");
|
||||||
const code = el.innerText;
|
const code = el.innerText;
|
||||||
|
|
||||||
el.parentElement.classList.add("language-thp");
|
el.parentElement.className = "language-thp"
|
||||||
pre_parent.removeChild(el);
|
pre_parent.removeChild(el);
|
||||||
pre_parent.appendChild(new_div);
|
pre_parent.appendChild(new_div);
|
||||||
|
|
||||||
@ -94,4 +94,5 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user