quick patch, make things simpler
This commit is contained in:
@@ -10,16 +10,12 @@
|
|||||||
modalId = "settings"
|
modalId = "settings"
|
||||||
closeId = "close"
|
closeId = "close"
|
||||||
jsonContainer = "jsoneditor"
|
jsonContainer = "jsoneditor"
|
||||||
let gear = false;
|
|
||||||
|
|
||||||
// Detect browser
|
// Detect browser
|
||||||
BROWSER = detectBrowser()
|
BROWSER = detectBrowser()
|
||||||
|
|
||||||
document.getElementById('settings-cog').onclick = function() {
|
document.getElementById('settings-cog').onclick = function() {
|
||||||
if (gear == false) {
|
showSettings()
|
||||||
gear = true;
|
|
||||||
showSettings()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function showSettings() {
|
function showSettings() {
|
||||||
|
|||||||
Reference in New Issue
Block a user