https://bugzilla.wikimedia.org/show_bug.cgi?id=40062

--- Comment #21 from Daniel Friesen <[email protected]> ---
(In reply to comment #20)
> (In reply to comment #19)
> > And added in a way that it would need JavaScript to use the css
> > (addModules loads CSS via JS and addModuleStyles can't be used
> > without bugs on a module you're using addModules to load JS).
> 
> It's currently not loaded in either way anywhere. You could use either
> addModuleStyles (in which case you don't fully support IE<9, but new
> browsers get the styles perfectly well), addModules (in which case you
> do support even IE6, but require JS), or both (to get the best of both
> worlds).

You can't use addModules and addModuleStyles on the same module. This will
currently lead to a double loading of the CSS (can't find the bug number). The
current practice is to put the JS into a module separate module.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to