[Pkg-mozext-commits] [tabmixplus] 103/123: Don't change default behavior for links that poins to the current page

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:31 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 44c4ed38eed1bba1c72dce1f5f7fb62e6c881de7
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Sep 13 23:43:24 2014 +0300

    Don't change default behavior for links that poins to the current page
---
 modules/ContentClick.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index f6c0b42..f06d13a 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -373,7 +373,7 @@ let ContentClickInternal = {
     if (this.currentTabLocked || this.targetPref == 1) { // tab is locked
       let openNewTab = this.openTabfromLink();
       if (openNewTab != null)
-        return [(openNewTab ? TMP_tabshifted(event) : "current") + "@16"];
+        return [(openNewTab ? TMP_tabshifted(event) : "default") + "@16"];
     }
     return ["default at 17"];
   },

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