diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-06-01 17:43:33 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-06-01 17:43:33 +0000 |
commit | cb5b2f332cbdaadcc2802bd76b190d1b77b0b51b (patch) | |
tree | a14e3512298034c4cd169693fc01ce87351be9b2 /misc | |
parent | 1a3f0ddb86c0c458fdf039bf16015a07e96b9595 (diff) | |
download | brdo-cb5b2f332cbdaadcc2802bd76b190d1b77b0b51b.tar.gz brdo-cb5b2f332cbdaadcc2802bd76b190d1b77b0b51b.tar.bz2 |
- #24068: Fix "undefined is undefined" error in IE5 with drupal.js
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 02ea60493..7a726c2a8 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -2,7 +2,7 @@ * Only enable Javascript functionality if all required features are supported. */ function isJsEnabled() { - if (document.jsEnabled == undefined) { + if (typeof document.jsEnabled == 'undefined') { // Note: ! casts to boolean implicitly. document.jsEnabled = !( !document.getElementsByTagName || |