diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-25 07:45:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-25 07:45:03 +0000 |
commit | b1e895f85072f7e2ee22582858c60301e9b8008d (patch) | |
tree | 9876e2ec9374c42e76f785c64356d8f504ee72ec /misc | |
parent | 69a7d806073640976b8593725bef0dd35dcdd6b8 (diff) | |
download | brdo-b1e895f85072f7e2ee22582858c60301e9b8008d.tar.gz brdo-b1e895f85072f7e2ee22582858c60301e9b8008d.tar.bz2 |
- Patch #272636 by dvessel: drupal.js overwrites class of html element, rather than adding to it.
Diffstat (limited to 'misc')
-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. |