mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 19:27:40 +02:00
fix linecount block
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
|
||||
hljs.highlightElement(code);
|
||||
|
||||
if (lineCount < 10000) {
|
||||
const lines = code.innerHTML.split(/\r?\n/);
|
||||
const fragment = [];
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
@@ -50,7 +49,6 @@
|
||||
if (target) target.scrollIntoView();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('keydown', (e) => {
|
||||
if ((e.ctrlKey || e.metaKey) && e.key === 'a') {
|
||||
|
||||
Reference in New Issue
Block a user