Update mod.js

Changed class name from numbered to code-numbered
This commit is contained in:
Ryo Hilmawan 2020-11-08 21:10:37 +07:00 committed by GitHub
parent e2683a5153
commit a114eae350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ module.exports = {
); );
if (lines > 1) { if (lines > 1) {
block.children[0].classList.add('numbered'); block.children[0].classList.add('code-numbered');
numbers.innerText = Array.from( numbers.innerText = Array.from(
Array(lines), Array(lines),
(e, i) => i + 1 (e, i) => i + 1