[Pkg-mozext-commits] [adblock-plus] 74/87: Issue 3991 - Fixed logic setting homepage URL automatically

David Prévot taffit at moszumanska.debian.org
Sat Apr 30 17:59:10 UTC 2016


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

taffit pushed a commit to branch master
in repository adblock-plus.

commit 0f979e7077bc1ba27778db0f2bb7bba059b1659c
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Tue Apr 26 18:07:46 2016 +0200

    Issue 3991 - Fixed logic setting homepage URL automatically
---
 lib/synchronizer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/synchronizer.js b/lib/synchronizer.js
index 324506c..acca471 100644
--- a/lib/synchronizer.js
+++ b/lib/synchronizer.js
@@ -216,7 +216,7 @@ var Synchronizer = exports.Synchronizer =
         url = null;
       }
 
-      if (url && (url.protocol == "http" || url.protocol == "https"))
+      if (url && (url.protocol == "http:" || url.protocol == "https:"))
         subscription.homepage = url.href;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list