 Issue 6353703170736128:
  Issue 1112 - Properly use polyfills in firstrun and settings pages  (Closed)
    
  
    Issue 6353703170736128:
  Issue 1112 - Properly use polyfills in firstrun and settings pages  (Closed) 
  | Index: html/static/js/settings.js | 
| =================================================================== | 
| --- a/html/static/js/settings.js | 
| +++ b/html/static/js/settings.js | 
| @@ -1,23 +1,11 @@ | 
| "use strict"; | 
| -function addListener(element, eventType, callback, propagate) | 
| -{ | 
| - if (element.addEventListener) | 
| - { | 
| - element.addEventListener(eventType, callback, propagate); | 
| - } | 
| - else | 
| - { | 
| - element.attachEvent("on" + eventType, callback); | 
| - } | 
| -} | 
| - | 
| (function() | 
| { | 
| function init() | 
| { | 
| var manageButton = document.getElementById("manageExceptions"); | 
| - addListener(manageButton, "click", toggleManage, false); | 
| + manageButton.addEventListener("click", toggleManage); | 
| 
Felix Dahlke
2014/07/23 12:45:17
Might keep the false too.
 | 
| } | 
| function toggleManage(ev) |