mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-33596 css_optimiser: Added an option for themes to disable the CSS optimiser
This commit is contained in:
parent
f8dfdb524b
commit
b305d623a5
3 changed files with 43 additions and 22 deletions
|
@ -163,4 +163,8 @@ $THEME->javascripts = array(
|
|||
);
|
||||
|
||||
// Sets a custom render factory to use with the theme, used when working with custom renderers.
|
||||
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
|
||||
// This theme doesn't support CSS optimisation. The JQuery CSS has already been optimised in a way that
|
||||
// is not compatible with the CSS optimiser in Moodle.
|
||||
$THEME->supportscssoptimisation = false;
|
Loading…
Add table
Add a link
Reference in a new issue