Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-08-12 04:25:36 +02:00
commit 2442d1af5f

View File

@ -72,7 +72,6 @@ FindProxyForURL = (function () {
}
function init() {
browser.runtime.sendMessage({event: 'proxyScriptLoaded'});
browser.runtime.onMessage.addListener(function(message) {
if (message.event === 'proxyScriptStateChanged') {
state = message.state;
@ -85,5 +84,6 @@ FindProxyForURL = (function () {
}
}
});
browser.runtime.sendMessage({event: 'proxyScriptLoaded'});
}
})();