From 336b6f1f50a5df44911c2a242f156ee63ff34cdc Mon Sep 17 00:00:00 2001 From: Glitchii Date: Wed, 7 Jul 2021 00:55:47 +0100 Subject: [PATCH] Keep style for newer Firefox browsers --- assets/js/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/js/index.js b/assets/js/index.js index f9a9fc3..42e57bd 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -664,8 +664,6 @@ window.onload = () => { document.querySelector('.timeText').innerText = tstamp(); document.querySelectorAll('.markup pre > code').forEach((block) => hljs.highlightBlock(block)); - !window.navigator.userAgent.match(/Firefox\/[\d\.]+$/g) && // Firefox pushes the text up a little - document.querySelector('.botText').style.removeProperty('top'); document.querySelector('.opt.gui').addEventListener('click', () => { json = JSON.parse(editor.getValue() || '{}');