#272636 by evolvingweb, dvessel: add 'js' class to html tag in drupal.js instead of overwriting all its classes with 'js'. Backport by sun.
parent
1150d18910
commit
15803cc169
|
@ -202,5 +202,5 @@ Drupal.encodeURIComponent = function (item, uri) {
|
|||
|
||||
// Global Killswitch on the <html> element
|
||||
if (Drupal.jsEnabled) {
|
||||
document.documentElement.className = 'js';
|
||||
$(document.documentElement).addClass('js');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue