diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index 9b8cdd617..ec5bbaae9 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -283,7 +283,7 @@ var SwitcherPopup = GObject.registerClass({ fadeAndDestroy() { this._popModal(); - if (this.visible) { + if (this.opacity > 0) { Tweener.addTween(this, { opacity: 0, time: POPUP_FADE_OUT_TIME / 1000,