quick patch, make things simpler
This commit is contained in:
@@ -10,17 +10,13 @@
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
||||
function showSettings() {
|
||||
modalEl = document.getElementById(modalId)
|
||||
|
||||
Reference in New Issue
Block a user