[Pkg-mozext-commits] [adblock-plus] 22/52: Issue 1712 - Default subscription is set to 'Adblock Warning Removal List' on FF mobile

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:43:45 UTC 2015


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

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

commit 77ae14f82a02399cdfa971709fc4a07cb53997e2
Author: Manvel Saroyan <manvel at adblockplus.org>
Date:   Tue Jan 6 19:32:55 2015 +0100

    Issue 1712 - Default subscription is set to 'Adblock Warning Removal List' on FF mobile
---
 lib/ui.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/ui.js b/lib/ui.js
index 5d52a81..fe154ea 100644
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -159,7 +159,8 @@ let optionsObserver =
             return;
 
           let currentSubscription = FilterStorage.subscriptions.filter((subscription) => subscription instanceof DownloadableSubscription &&
-            subscription.url != Prefs.subscriptions_exceptionsurl);
+            subscription.url != Prefs.subscriptions_exceptionsurl && 
+            subscription.url != Prefs.subscriptions_antiadblockurl);
           currentSubscription = (currentSubscription.length ? currentSubscription[0] : null);
 
           let subscriptions =request.responseXML.getElementsByTagName("subscription");

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