Mercurial > defr > drupal > core
diff misc/drupal.js @ 7:fff6d4c8c043 6.3
Drupal 6.3
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:28 +0100 |
parents | 165d43f946a8 |
children |
line wrap: on
line diff
--- a/misc/drupal.js Tue Dec 23 14:30:08 2008 +0100 +++ b/misc/drupal.js Tue Dec 23 14:30:28 2008 +0100 @@ -1,4 +1,4 @@ -// $Id: drupal.js,v 1.41.2.2 2008/02/27 19:44:44 goba Exp $ +// $Id: drupal.js,v 1.41.2.3 2008/06/25 09:06:57 goba Exp $ var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} }; @@ -268,7 +268,7 @@ // 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.