Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b18ad406
Commit
b18ad406
authored
May 16, 2013
by
catch
Browse files
Issue
#1993350
by nod_: Don't add modernizr everywhere.
parent
39f3d34b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/theme.inc
View file @
b18ad406
...
...
@@ -2946,7 +2946,6 @@ function template_process_page(&$variables) {
*/
function
template_process_html
(
&
$variables
)
{
drupal_add_library
(
'system'
,
'html5shiv'
,
TRUE
);
drupal_add_library
(
'system'
,
'modernizr'
,
TRUE
);
// Render page_top and page_bottom into top level variables.
$variables
[
'page_top'
]
=
drupal_render
(
$variables
[
'page'
][
'page_top'
]);
$variables
[
'page_bottom'
]
=
drupal_render
(
$variables
[
'page'
][
'page_bottom'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment