Fix: CSS file loading order (functions.php)
Load third-party files firstpull/3988/head
parent
4b596b70f3
commit
2a2d200cf3
|
@ -114,6 +114,10 @@ echo output_link_if_exists(array(
|
|||
'js/bootstrap-table-1.22.3/bootstrap-table.min.css',
|
||||
'js/bootstrap-table-1.22.3/extensions/page-jump-to/bootstrap-table-page-jump-to.min.css',
|
||||
), true);
|
||||
|
||||
if ( $basename == 'montage' ) {
|
||||
echo output_link_if_exists(array('/assets/gridstack/dist/gridstack.css', '/assets/gridstack/dist/gridstack-extra.css'));
|
||||
}
|
||||
?>
|
||||
<link rel="stylesheet" href="skins/classic/js/jquery-ui-1.13.2/jquery-ui.theme.min.css" type="text/css"/>
|
||||
<?php #Chosen can't be cache-busted because it loads sprites by relative path ?>
|
||||
|
@ -137,9 +141,6 @@ if ( $css != 'base' )
|
|||
if ( $css != 'base' )
|
||||
echo output_link_if_exists(array('/css/'.$css.'/views/control.css'));
|
||||
}
|
||||
if ( $basename == 'montage' ) {
|
||||
echo output_link_if_exists(array('/assets/gridstack/dist/gridstack.css', '/assets/gridstack/dist/gridstack-extra.css'));
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue