Skip to content

Commit 42cae5d

Browse files
committed
When toggling ruleset state, don't load the library twice
1 parent d85ba9b commit 42cae5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/https-everywhere.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ HTTPSEverywhere.prototype = {
735735
catman.addCategoryEntry("net-channel-event-sinks", SERVICE_CTRID,
736736
SERVICE_CTRID, false, true);
737737

738-
HTTPSRules.init();
738+
// HTTPSRules.init(); why indeed is that called twice?
739739
this.prefs.setBoolPref("globalEnabled", true);
740740
}
741741
catch(e){

0 commit comments

Comments
 (0)