OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 E("donate").href = link; | 74 E("donate").href = link; |
75 }); | 75 }); |
76 | 76 |
77 getDocLink("contributors", function(link) | 77 getDocLink("contributors", function(link) |
78 { | 78 { |
79 E("contributors").href = link; | 79 E("contributors").href = link; |
80 }); | 80 }); |
81 | 81 |
82 getDocLink("acceptable_ads_criteria", function(link) | 82 getDocLink("acceptable_ads_criteria", function(link) |
83 { | 83 { |
84 setLinks("acceptableAdsExplanation", link, openFilters); | 84 setLinks("acceptable-ads-explanation", link, openFilters); |
85 }); | 85 }); |
86 | 86 |
87 getDocLink("contribute", function(link) | 87 getDocLink("contribute", function(link) |
88 { | 88 { |
89 setLinks("share-headline", link); | 89 setLinks("share-headline", link); |
90 }); | 90 }); |
91 | 91 |
92 ext.backgroundPage.sendMessage({ | 92 ext.backgroundPage.sendMessage({ |
93 type: "app.get", | 93 type: "app.get", |
94 what: "issues" | 94 what: "issues" |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 { | 320 { |
321 var button = E("toggle-" + feature); | 321 var button = E("toggle-" + feature); |
322 if (isEnabled) | 322 if (isEnabled) |
323 button.classList.remove("off"); | 323 button.classList.remove("off"); |
324 else | 324 else |
325 button.classList.add("off"); | 325 button.classList.add("off"); |
326 } | 326 } |
327 | 327 |
328 document.addEventListener("DOMContentLoaded", onDOMLoaded, false); | 328 document.addEventListener("DOMContentLoaded", onDOMLoaded, false); |
329 })(); | 329 })(); |
OLD | NEW |