Index: html/static/js/IESettings.js |
=================================================================== |
--- a/html/static/js/IESettings.js |
+++ b/html/static/js/IESettings.js |
@@ -53,7 +53,7 @@ |
if (aaCheckbox) |
{ |
aaCheckbox.checked = UserSettings().IsAcceptableAdsEnabled(); |
- addListener(aaCheckbox, "change", acceptableAdsChange, false); |
+ aaCheckbox.addEventListener("change", acceptableAdsChange, false); |
} |
var optionsLanguage = document.getElementById("language"); |
@@ -68,7 +68,7 @@ |
optionsLanguage.add(el, 0); |
} |
- addListener(optionsLanguage, "change", function () |
+ optionsLanguage.addEventListener("change", function () |
{ |
UserSettings().SetLanguage(optionsLanguage[optionsLanguage.selectedIndex].value); |
}, false); |
@@ -102,7 +102,7 @@ |
} |
var addDomain = document.getElementById("addDomain"); |
- addListener(addDomain, "click", function() |
+ addDomain.addEventListener("click", function() |
{ |
var newDomain = document.getElementById("newDomain"); |
@@ -139,7 +139,7 @@ |
}, false); |
var removeDomains = document.getElementById("removeDomains"); |
- addListener(removeDomains, "click", function() |
+ removeDomains.addEventListener("click", function() |
{ |
var removeOptions = []; |
var domains = optionsDomain.options; |