| Index: include.preload.js |
| =================================================================== |
| --- a/include.preload.js |
| +++ b/include.preload.js |
| @@ -348,8 +348,6 @@ |
| this.emulatedPatterns = null; |
| this.elemHideEmulation = new ElemHideEmulation( |
| - window, |
| - callback => callback(this.emulatedPatterns), |
| this.addSelectors.bind(this), |
| this.hideElements.bind(this) |
| ); |
| @@ -501,9 +499,7 @@ |
| else if (this.tracer) |
| this.tracer.addSelectors(response.selectors); |
| - this.emulatedPatterns = response.emulatedPatterns; |
| - this.elemHideEmulation.apply(); |
| - this.emulatedPatterns = null; |
| + this.elemHideEmulation.apply(response.emulatedPatterns); |
| }); |
| } |
| }; |