From 9f09788e3b5c07b001ead09b7abc82cdce15d924 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 19 May 2008 19:42:18 +0000 Subject: - Patch #225527 by dvessel: removed jsEnabled check. --- misc/drupal.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'misc') 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); + }); }; /** -- cgit v1.2.3