Browse Source

Combine tooltipster and tooltipster_settings so they can't load out of order

undefined
spaghetti 7 years ago
committed by Tomochin
parent
commit
b324a98947
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      design/privateheader.php

+ 1
- 1
design/privateheader.php View File

@@ -95,7 +95,7 @@ foreach ($ExtraCSS as $CSS) {
<? <?
} }


$Scripts = array_merge(array('jquery', 'global', 'ajax.class', 'jquery.autocomplete', 'autocomplete', 'tooltipster', 'tooltipster_settings'), explode(',', $JSIncludes));
$Scripts = array_merge(array('jquery', 'global', 'ajax.class', 'jquery.autocomplete', 'autocomplete', 'tooltipster'), explode(',', $JSIncludes));
foreach ($Scripts as $Script) { foreach ($Scripts as $Script) {
if (trim($Script) == '') { continue; } if (trim($Script) == '') { continue; }
$Async = (in_array($Script, ['jquery','global','ajax.class'])) ? '' : 'async'; $Async = (in_array($Script, ['jquery','global','ajax.class'])) ? '' : 'async';


Loading…
Cancel
Save