diff options
-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); + }); }; /** |