diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 90e7562ce..600e1cc33 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -248,9 +248,11 @@ AltTabPopup.prototype = { }, _select : function(app, window, noTimeout) { - if ((app != this._currentApp || !window) && this._thumbnails) { - this._thumbnails.actor.destroy(); - this._thumbnails = null; + if (app != this._currentApp || !window) { + if (this._thumbnails) { + this._thumbnails.actor.destroy(); + this._thumbnails = null; + } this._appSwitcher.showArrow(-1); }