diff options
-rw-r--r-- | misc/drupal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/drupal.js b/misc/drupal.js index d92302152..08e720ca0 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -266,7 +266,7 @@ Drupal.ahahError = function(xmlhttp, uri) { // Global Killswitch on the <html> element if (Drupal.jsEnabled) { // Global Killswitch on the <html> element - document.documentElement.className = 'js'; + $(document.documentElement).addClass('js'); // 'js enabled' cookie document.cookie = 'has_js=1; path=/'; // Attach all behaviors. |