[Pkg-mozext-commits] [tabmixplus] 119/147: Ctrl-Tab navigates tabs in most recently used order not working with Pale Moon 27.x

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:43 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 e89c2f0dc8f4ff18b24a177d74793281dc5d8e57
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Mar 30 11:21:35 2017 +0300

    Ctrl-Tab navigates tabs in most recently used order not working with Pale Moon 27.x
---
 chrome/content/flst/lasttab.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/flst/lasttab.js b/chrome/content/flst/lasttab.js
index 2727dc6..2f05213 100644
--- a/chrome/content/flst/lasttab.js
+++ b/chrome/content/flst/lasttab.js
@@ -52,7 +52,7 @@ var TMP_LastTab = {
     let tabBox = gBrowser.mTabBox;
     let els = Cc["@mozilla.org/eventlistenerservice;1"]
                 .getService(Ci.nsIEventListenerService);
-    if (Tabmix.isVersion(320)) {
+    if (Tabmix.isVersion(320, 270)) {
       els.removeSystemEventListener(tabBox._eventNode, "keydown", tabBox, false);
     } else {
       tabBox._eventNode.removeEventListener("keypress", tabBox);
@@ -85,7 +85,7 @@ var TMP_LastTab = {
                 .getService(Ci.nsIEventListenerService);
     els.removeSystemEventListener(tabBox._eventNode, "keydown", this, false);
     els.removeSystemEventListener(tabBox._eventNode, "keyup", this, false);
-    if (!Tabmix.isVersion(320))
+    if (!Tabmix.isVersion(320, 270))
       els.removeSystemEventListener(tabBox._eventNode, "keypress", this, false);
     if (!Tabmix.isVersion(470)) {
       els.removeSystemEventListener(window, "focus", this, true);
@@ -191,7 +191,7 @@ var TMP_LastTab = {
   OnKeyDown(event) {
     this.CtrlKey = event.ctrlKey && !event.altKey && !event.metaKey;
     Tabmix.keyModifierDown = event.shiftKey || event.ctrlKey || event.altKey || event.metaKey;
-    if (Tabmix.isVersion(320))
+    if (Tabmix.isVersion(320, 270))
       this.OnKeyPress(event);
   },
 

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