Hide instead of removing menu & remove onlyEmbed option from config
This commit is contained in:
parent
455a039efb
commit
9a0463f411
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -9,7 +9,6 @@ options = {
|
|||
guiTabs: ['author', 'description'],
|
||||
useJsonEditor: false,
|
||||
reverseColumns: false,
|
||||
onlyEmbed: false,
|
||||
allowPlaceholders: false,
|
||||
autoUpdateURL: false,
|
||||
autoParams: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue