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 commentedAdded it to the 7.x-3.x version, to be deployed with the Magic module.