mirror of
https://gitlab.com/randompenguin/zen_postbox.git
synced 2025-04-27 19:40:10 +00:00
load minified stylesheets
This commit is contained in:
parent
32bb66c304
commit
5b557f3b1a
1 changed files with 3 additions and 3 deletions
|
@ -106,15 +106,15 @@ function zen_postbox_jot_tool(string &$body)
|
|||
$s .= '</div>';
|
||||
|
||||
//Add control css to header
|
||||
$css_file = __DIR__ . '/view/' . DI::app()->getCurrentTheme() . '.css';
|
||||
$css_file = __DIR__ . '/view/' . DI::app()->getCurrentTheme() . '.min.css';
|
||||
if (!file_exists($css_file)) {
|
||||
$css_file = __DIR__ . '/view/default.css';
|
||||
$css_file = __DIR__ . '/view/default.min.css';
|
||||
}
|
||||
|
||||
DI::page()->registerStylesheet($css_file);
|
||||
|
||||
// Add zen_postbox Styling to Header
|
||||
$box_styles = __DIR__ . '/view/postbox.css';
|
||||
$box_styles = __DIR__ . '/view/postbox.min.css';
|
||||
DI::page()->registerStylesheet($box_styles);
|
||||
|
||||
//Get the correct image for the theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue