Index: include.preload.js |
diff --git a/include.preload.js b/include.preload.js |
index 93acaeacd78ee37fc74a9686c25bf6dcd66103e9..2828275a319ac7dbfac4ffcf71f43c1a75e58952 100644 |
--- a/include.preload.js |
+++ b/include.preload.js |
@@ -15,8 +15,6 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-var MutationObserver = window.MutationObserver || window.WebKitMutationObserver; |
- |
var typeMap = { |
"img": "IMAGE", |
"input": "IMAGE", |
@@ -164,13 +162,12 @@ function checkCollapse(element) |
{ |
collapseElement(); |
- if (MutationObserver) |
- new MutationObserver(collapseElement).observe( |
- element, { |
- attributes: true, |
- attributeFilter: ["style"] |
- } |
- ); |
+ new MutationObserver(collapseElement).observe( |
+ element, { |
+ attributes: true, |
+ attributeFilter: ["style"] |
+ } |
+ ); |
} |
} |
); |