[Pkg-mozext-commits] [tabmixplus] 66/147: Closed tabs menu stay open when last item in the list removed by middle-click
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:27:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 2fbe0f6b0dac742e613580cd562eeeea229ed2cc
Author: onemen <tabmix.onemen at gmail.com>
Date: Tue Dec 13 21:46:40 2016 +0200
Closed tabs menu stay open when last item in the list removed by middle-click
---
chrome/content/session/sessionStore.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/session/sessionStore.js b/chrome/content/session/sessionStore.js
index d371018..d740f24 100644
--- a/chrome/content/session/sessionStore.js
+++ b/chrome/content/session/sessionStore.js
@@ -489,7 +489,7 @@ var TMP_ClosedTabs = {
if (popup && command == "restoreTab") {
this.populateUndoSubmenu(popup, true);
}
- } else if (item.getAttribute("closemenu") == "none") {
+ } else if (!this.count || item.getAttribute("closemenu") == "none") {
closeMenus(popup);
}
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list