[Pkg-mozext-commits] [tabmixplus] 22/28: Pressing Shift while 'Ctrl+Tab tabs list popup' is visible hides the popup

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit a44bd7e0b6d3d333be750127b2349f21f80abc3a
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Jul 2 22:19:52 2015 +0300

    Pressing Shift while 'Ctrl+Tab tabs list popup' is visible hides the popup
---
 chrome/content/flst/lasttab.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/chrome/content/flst/lasttab.js b/chrome/content/flst/lasttab.js
index ff7a677..78236fa 100644
--- a/chrome/content/flst/lasttab.js
+++ b/chrome/content/flst/lasttab.js
@@ -235,6 +235,11 @@ var TMP_LastTab = {
          event.stopPropagation();
          event.preventDefault();
       }
+      else if (this.TabListLock && this.CtrlKey &&
+               event.keyCode == Ci.nsIDOMKeyEvent.DOM_VK_SHIFT) {
+        // don't hide the tabs list popup when user press shift
+        return;
+      }
       else {
          if(this.TabListLock)
             this.TabList.hidePopup();

-- 
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