Commit 5c0d8ee8 authored by profix898's avatar profix898

- bugfix: do not cache/aggregate/compress G2 javascript (#224019)

parent 7885a279
......@@ -549,7 +549,7 @@ function gallery_set_javascript($javascript) {
drupal_set_html_head('<script type="text/javascript" src="'. $include .'"></script>');
}
else {
drupal_add_js($include);
drupal_add_js($include, $type = 'module', $scope = 'header', $defer = FALSE, $cache = FALSE, $preprocess = FALSE);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment