I'm working on making all JS "footer-compatible" (i.e. it can be loaded from the footer, which speeds up the page rendering). However, JS that affects the theming cannot be put in the footer. This is one such kind of JS.

Therefore, the scope should be set explicitly to 'header'. The attached patch does this.

CommentFileSizeAuthor
drupal_add_js_explicit_scope.patch762 byteswim leers

Comments

wim leers’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This project is dead.

I want this out of my list of issues.