summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 29d9aa5e0..1f7396397 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -158,7 +158,7 @@ function _init_theme($theme, $base_theme = array(), $registry_callback = '_theme
// Add scripts used by this theme.
foreach ($final_scripts as $script) {
- drupal_add_js($script, 'theme');
+ drupal_add_js($script, array('weight' => JS_THEME));
}
$theme_engine = NULL;