diff --git a/includes/theme.inc b/includes/theme.inc index 1e15888600e3cf8bebcc31a535b8abd3d921a617..4152e2b654b50965c36e5269f4123e912f985bce 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -292,7 +292,7 @@ function bootstrap_js_alter(&$js) { // Load excluded JS files from theme. $excludes = _bootstrap_alter(bootstrap_theme_get_info('exclude'), 'js'); - + // If bootstrap_ui available, we should not add js from theme info file. if (module_exists('bootstrap_ui')) { libraries_load('bootstrap', 'minified');