- Patch #225527 by dvessel: removed jsEnabled check.
parent
d673f5e10f
commit
9f09788e3b
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue