Hi all, when I active an extension (flagrow/ads in this case), then go to the front page, the js console show that module is undefined.
var app = System.get('flarum/app').default;
var modules = ["locale","flarum\/suspend\/main","flarum\/tags\/main"]; /* flarum ext here*/
for (var i in modules) {
var module = System.get(modules[i]);
if (module.default) module.default(app);
}
and page is unable to load.
Only when I change the order of flagrow/ads in the setting/
extensions_enabled table, the extension work fine.
I think it's not apply to flagrow/ads but for others extension to.
More investiagation is needed.