quick patch, make things simpler

This commit is contained in:
reesericci
2020-09-09 18:25:58 -05:00
parent 561e7cf491
commit 1b9133db1b

View File

@@ -10,16 +10,12 @@
modalId = "settings"
closeId = "close"
jsonContainer = "jsoneditor"
let gear = false;
// Detect browser
BROWSER = detectBrowser()
document.getElementById('settings-cog').onclick = function() {
if (gear == false) {
gear = true;
showSettings()
}
showSettings()
}
function showSettings() {