diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
commit | facc581013f781bd7737d02700a5ffe2a253e5f3 (patch) | |
tree | a65b1bc47b368e420bb3238e75196acd5b471f88 /modules/color | |
parent | 0614a78538bcc91f620abb38a0366d6ecee9eb06 (diff) | |
download | brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.gz brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.bz2 |
- Patch #769226 by Owen Barton, sun, effulgentsia, alanburke, bleen18, mfer: optimize JS/CSS aggregation for front-end performance and DX.
Diffstat (limited to 'modules/color')
-rw-r--r-- | modules/color/color.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module index a9d898090..d94cadc33 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -247,7 +247,7 @@ function theme_color_scheme_form($variables) { $preview_js_path = isset($info['preview_js']) ? $path . $info['preview_js'] : drupal_get_path('module', 'color') . '/' . 'preview.js'; // Add the JS at a weight below color.js. - drupal_add_js($preview_js_path, array('weight' => JS_DEFAULT - 1)); + drupal_add_js($preview_js_path, array('weight' => -1)); $output = ''; $output .= '<div class="color-form clearfix">'; |