From f8e37d6be73092fbf7e5873b17645593220007d5 Mon Sep 17 00:00:00 2001 From: Jason Hicks Date: Mon, 9 Jan 2017 14:51:56 -0600 Subject: [PATCH] Fix app button leave event --- src/specialMenus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specialMenus.js b/src/specialMenus.js index a5955c7..de83901 100644 --- a/src/specialMenus.js +++ b/src/specialMenus.js @@ -567,7 +567,7 @@ AppThumbnailHoverMenu.prototype = { }, _onAppButtonLeave: function () { - if (this._applet.onClickThumbs && this.openTime + 1000 > Date.now()) { + if ((this._applet.onClickThumbs && this.openTime + 1000 > Date.now()) || !this._applet.onClickThumbs) { setTimeout(()=>this.close(), this._applet.thumbTimeout) } },