summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/dom.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/js/dom.js')
-rw-r--r--framework/Web/Javascripts/js/dom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/dom.js b/framework/Web/Javascripts/js/dom.js
index a0f4a3f3..f22d5c80 100644
--- a/framework/Web/Javascripts/js/dom.js
+++ b/framework/Web/Javascripts/js/dom.js
@@ -530,7 +530,7 @@ Object.extend(Event,{OnLoad:function(fn){
var w=document.addEventListener&&!window.addEventListener?document:window;
Event.__observe(w,"load",fn);
},observe:function(_3,_4,_5,_6){
-if(isElement(_3)){
+if(!isList(_3)){
return this.__observe(_3,_4,_5,_6);
}
for(var i=0;i<_3.length;i++){