diff --git a/view/templates/bin.html b/view/templates/bin.html
index 50e1e65..3e7ee65 100644
--- a/view/templates/bin.html
+++ b/view/templates/bin.html
@@ -33,25 +33,23 @@
hljs.highlightElement(code);
- if (lineCount < 10000) {
- const lines = code.innerHTML.split(/\r?\n/);
- const fragment = [];
- for (let i = 0; i < lines.length; i++) {
- const num = i + 1;
- fragment.push('
');
- }
-
- requestAnimationFrame(() => {
- code.innerHTML = fragment.join('');
- code.classList.add('with-line-numbers');
-
- if (window.location.hash) {
- const target = document.querySelector(window.location.hash);
- if (target) target.scrollIntoView();
- }
- });
+ const lines = code.innerHTML.split(/\r?\n/);
+ const fragment = [];
+ for (let i = 0; i < lines.length; i++) {
+ const num = i + 1;
+ fragment.push('');
}
+ requestAnimationFrame(() => {
+ code.innerHTML = fragment.join('');
+ code.classList.add('with-line-numbers');
+
+ if (window.location.hash) {
+ const target = document.querySelector(window.location.hash);
+ if (target) target.scrollIntoView();
+ }
+ });
+
document.addEventListener('keydown', (e) => {
if ((e.ctrlKey || e.metaKey) && e.key === 'a') {
if (e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'INPUT') {