diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-19 19:42:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-19 19:42:18 +0000 |
commit | 9f09788e3b5c07b001ead09b7abc82cdce15d924 (patch) | |
tree | 5a890c9f41a229f58cb4045c2587d4fc267d647c /misc/drupal.js | |
parent | d673f5e10f0c859788df50eaedd8905009e87935 (diff) | |
download | brdo-9f09788e3b5c07b001ead09b7abc82cdce15d924.tar.gz brdo-9f09788e3b5c07b001ead09b7abc82cdce15d924.tar.bz2 |
- Patch #225527 by dvessel: removed jsEnabled check.
Diffstat (limited to 'misc/drupal.js')
-rw-r--r-- | misc/drupal.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/drupal.js b/misc/drupal.js index 50498d873..d92302152 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -36,12 +36,10 @@ Drupal.jsEnabled = document.getElementsByTagName && document.createElement && do */ Drupal.attachBehaviors = function(context) { context = context || document; - if (Drupal.jsEnabled) { - // Execute all of them. - jQuery.each(Drupal.behaviors, function() { - this(context); - }); - } + // Execute all of them. + jQuery.each(Drupal.behaviors, function() { + this(context); + }); }; /** |