diff --git a/src/js/HuesSettings.js b/src/js/HuesSettings.js index 4bfcb6d..a1018d5 100644 --- a/src/js/HuesSettings.js +++ b/src/js/HuesSettings.js @@ -261,13 +261,13 @@ HuesSettings.prototype.connectCore = function(core) { }; HuesSettings.prototype.show = function() { + this.window.style.display = "-webkit-flex"; + this.window.style.display = "flex"; if(this.core) { this.core.hideLists(); if(this.core.editor) this.core.editor.resize(); } - this.window.style.display = "-webkit-flex"; - this.window.style.display = "flex"; }; HuesSettings.prototype.hide = function() {