Fixing style errors.
This commit is contained in:
parent
e212395f00
commit
0bb697c3ae
@ -1766,9 +1766,9 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//If you want to load custom javascript file from your selected theme directory
|
//If you want to load custom javascript file from your selected theme directory
|
||||||
if (!empty($conf->global->ALLOW_THEME_JS)) {
|
if (!empty($conf->global->ALLOW_THEME_JS)) {
|
||||||
$theme_js = dol_buildpath('/theme/'.$conf->theme.'/'.$conf->theme.'.js', 0);
|
$theme_js = dol_buildpath('/theme/'.$conf->theme.'/'.$conf->theme.'.js', 0);
|
||||||
if (file_exists($theme_js)) {
|
if (file_exists($theme_js)) {
|
||||||
print '<script src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/'.$conf->theme.'.js'.($ext ? '?'.$ext : '').'"></script>'."\n";
|
print '<script src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/'.$conf->theme.'.js'.($ext ? '?'.$ext : '').'"></script>'."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user