| LEFT | RIGHT | 
|---|
| 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 27 matching lines...) Expand all  Loading... | 
| 38 | 38 | 
| 39 var AdblockPlusApi = | 39 var AdblockPlusApi = | 
| 40 { | 40 { | 
| 41   get acceptableAdsEnabled() | 41   get acceptableAdsEnabled() | 
| 42   { | 42   { | 
| 43     return FilterStorage.subscriptions.some( | 43     return FilterStorage.subscriptions.some( | 
| 44       (subscription) => subscription.url == Prefs.subscriptions_exceptionsurl); | 44       (subscription) => subscription.url == Prefs.subscriptions_exceptionsurl); | 
| 45   }, | 45   }, | 
| 46   set acceptableAdsEnabled(acceptableAdsEnabled) | 46   set acceptableAdsEnabled(acceptableAdsEnabled) | 
| 47   { | 47   { | 
| 48     if (acceptableAdsEnabled == AdblockPlusApi.acceptableAdsEnabled) | 48     if (acceptableAdsEnabled != AdblockPlusApi.acceptableAdsEnabled) | 
| 49       return; | 49       UI.toggleAcceptableAds(); | 
| 50     UI.toggleAcceptableAds(); |  | 
| 51   } | 50   } | 
| 52 }; | 51 }; | 
| LEFT | RIGHT | 
|---|