[Pkg-mozext-commits] [tabmixplus] 85/107: After using decodeURI on a href, many have spaces. Backed out changeset: 12fc79a35b9f

David Prévot taffit at moszumanska.debian.org
Tue Dec 29 19:02:53 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 3069136794c263b581ae87dff08fc382b24a6c39
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Nov 27 15:50:20 2015 +0200

    After using decodeURI on a href, many have spaces. Backed out changeset: 12fc79a35b9f
---
 modules/ContentClick.jsm | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index 1b1545b..45194b8 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -437,14 +437,6 @@ var ContentClickInternal = {
     if (this.divertTargetedLink())
       return ["current at 14"];
 
-   /*
-    * Don't change default behavior for link with spaces,
-    * support.hp.com uses special link format internally
-    */
-    if (decodeURI(href.trim()).indexOf(" ") > -1) {
-      return ["default at 14a"];
-    }
-
     /*
      * open links to other sites in a tab only if certain conditions are met. See the
      * function comment for more details.

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