| Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 
| 3 * Copyright (C) 2006-2013 Eyeo GmbH | 3 * Copyright (C) 2006-2013 Eyeo GmbH | 
| 4 * | 4 * | 
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify | 
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as | 
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. | 
| 8 * | 8 * | 
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, | 
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 }, | 101 }, | 
| 102 | 102 | 
| 103 updateState: function() | 103 updateState: function() | 
| 104 { | 104 { | 
| 105 let enabled = Prefs.correctTypos; | 105 let enabled = Prefs.correctTypos; | 
| 106 E("typo_enable").checked = enabled; | 106 E("typo_enable").checked = enabled; | 
| 107 E("typo_whitelist_container").hidden = !enabled; | 107 E("typo_whitelist_container").hidden = !enabled; | 
| 108 } | 108 } | 
| 109 }; | 109 }; | 
| 110 | 110 | 
| 111 // only interact with UI if loaded in the context of filter settings dialog | |
| 
 
Wladimir Palant
2013/05/27 14:10:37
Please remove that comment as well. There should b
 
Thomas Greiner
2013/05/27 16:39:16
Done.
 
 | |
| 111 window.addEventListener("load", function() | 112 window.addEventListener("load", function() | 
| 112 { | 113 { | 
| 113 TypoActions.init(); | 114 TypoActions.init(); | 
| 114 }, false); | 115 }, false); | 
| OLD | NEW |