Keep style for newer Firefox browsers
This commit is contained in:
parent
33a798cc44
commit
336b6f1f50
1 changed files with 0 additions and 2 deletions
|
@ -664,8 +664,6 @@ window.onload = () => {
|
||||||
|
|
||||||
document.querySelector('.timeText').innerText = tstamp();
|
document.querySelector('.timeText').innerText = tstamp();
|
||||||
document.querySelectorAll('.markup pre > code').forEach((block) => hljs.highlightBlock(block));
|
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', () => {
|
document.querySelector('.opt.gui').addEventListener('click', () => {
|
||||||
json = JSON.parse(editor.getValue() || '{}');
|
json = JSON.parse(editor.getValue() || '{}');
|
||||||
|
|
Loading…
Add table
Reference in a new issue