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')) for (const e of document.querySelectorAll('.no-frame'))
e.remove(); e.remove();
if (hideMenu) if (hideMenu)
document.querySelector('.top-btn.menu').remove(); document.querySelector('.top-btn.menu').classList.add('hidden');
if (hideEditor) { if (hideEditor) {
document.body.classList.add('no-editor'); document.body.classList.add('no-editor');
document.querySelector('.toggle .toggles .editor input').checked = false; document.querySelector('.toggle .toggles .editor input').checked = false;

View file

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