diff --git a/lib/mojito.js b/lib/mojito.js index e5907d1..006a772 100644 --- a/lib/mojito.js +++ b/lib/mojito.js @@ -883,11 +883,8 @@ Mojito = (function () } } - if (!this.domWatcher) - { - var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver; - this.domWatcher = new MutationObserver(callback); - } + var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver; + var domWatcher = new MutationObserver(callback); if (!watchOptions) { @@ -911,7 +908,7 @@ Mojito = (function () for (var i=0;i