#272636 by evolvingweb, dvessel: add 'js' class to html tag in drupal.js instead of overwriting all its classes with 'js'. Backport by sun.

5.x
Neil Drumm 2008-08-13 18:12:23 +00:00
parent 1150d18910
commit 15803cc169
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}