Hide instead of removing menu & remove onlyEmbed option from config

This commit is contained in:
Glitchii 2022-04-01 19:29:46 +00:00
parent 455a039efb
commit 9a0463f411
2 changed files with 1 additions and 2 deletions

View file

@ -167,7 +167,7 @@ addEventListener('DOMContentLoaded', () => {
for (const e of document.querySelectorAll('.no-frame'))
e.remove();
if (hideMenu)
document.querySelector('.top-btn.menu').remove();
document.querySelector('.top-btn.menu').classList.add('hidden');
if (hideEditor) {
document.body.classList.add('no-editor');
document.querySelector('.toggle .toggles .editor input').checked = false;

View file

@ -9,7 +9,6 @@ options = {
guiTabs: ['author', 'description'],
useJsonEditor: false,
reverseColumns: false,
onlyEmbed: false,
allowPlaceholders: false,
autoUpdateURL: false,
autoParams: false,