| Index: composer.postload.js |
| diff --git a/composer.postload.js b/composer.postload.js |
| index b0a6f7f1b8047eba593c9e2b6183d2601111dc9f..80298b45d4f6b20a7cda65f0d2010f8dbee6b4e8 100644 |
| --- a/composer.postload.js |
| +++ b/composer.postload.js |
| @@ -17,8 +17,10 @@ |
| "use strict"; |
| -const {checkCollapse, elemhide, |
| - getURLsFromElement, typeMap} = require("./include.preload"); |
| +// We would rather export these properly and then require("include.preload") |
| +// here, but that would result in include.preload running both at pre and post |
| +// load. |
| +const {checkCollapse, elemhide, getURLsFromElement, typeMap} = window; |
| // The page ID for the popup filter selection dialog (top frame only). |
| let blockelementPopupId = null; |