From 15803cc169619c4aea91df75b2860a84ec1e2a23 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 13 Aug 2008 18:12:23 +0000 Subject: [PATCH] #272636 by evolvingweb, dvessel: add 'js' class to html tag in drupal.js instead of overwriting all its classes with 'js'. Backport by sun. --- misc/drupal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/drupal.js b/misc/drupal.js index 98b64cf3873f..a22eb387ba12 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -202,5 +202,5 @@ Drupal.encodeURIComponent = function (item, uri) { // Global Killswitch on the element if (Drupal.jsEnabled) { - document.documentElement.className = 'js'; + $(document.documentElement).addClass('js'); }