Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Modernizr module implements the force header
flag that Omega/Aurora utilize. There's no need for it to be present in your codebase :)
Remove this function:
/**
* Implements hook_js_alter
*/
function aurora_js_alter(&$js) {
global $base_url;
// Forces Modernizr to header if the Modernizr module is enabled.
if (module_exists('modernizr')) {
$js[modernizr_get_path()]['force header'] = true;
}
}
Comment | File | Size | Author |
---|---|---|---|
#1 | 1914356-1-remove-mzr-code.patch | 631 bytes | rupl |
Comments
Comment #1
ruplBecause I'm such a nice guy... ^_^
Comment #2
iamcarrico CreditAttribution: iamcarrico commentedAdded it to the 7.x-3.x version, to be deployed with the Magic module.