mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-01 01:03:55 +00:00
use unminified CSS in debug mode
This commit is contained in:
parent
ddb30892bf
commit
b983dcbcfe
@ -24,6 +24,8 @@ else
|
||||
// Load jQuery
|
||||
JHtml::_('jquery.framework');
|
||||
|
||||
$cssSuffix = JDEBUG ? '.css' : '.min.css';
|
||||
|
||||
// Load Bootstrap
|
||||
if (version_compare(JVERSION, '4.0', '>='))
|
||||
{
|
||||
@ -32,11 +34,11 @@ if (version_compare(JVERSION, '4.0', '>='))
|
||||
}
|
||||
else
|
||||
{
|
||||
JHtml::stylesheet('media/com_jedchecker/css/j4-style.min.css');
|
||||
JHtml::stylesheet('media/com_jedchecker/css/j4-style' . $cssSuffix);
|
||||
JHtml::script('media/com_jedchecker/js/bootstrap.min.js');
|
||||
}
|
||||
|
||||
JHtml::stylesheet('media/com_jedchecker/css/style.min.css');
|
||||
JHtml::stylesheet('media/com_jedchecker/css/style' . $cssSuffix);
|
||||
JHtml::script('media/com_jedchecker/js/script.js');
|
||||
|
||||
// List of rules
|
||||
|
Loading…
Reference in New Issue
Block a user