From 087eabcce8fb3e745e056e40a1b12869eab34f62 Mon Sep 17 00:00:00 2001 From: arno Date: Fri, 3 Sep 2010 15:43:54 +0200 Subject: [PATCH] fixes exception --- public/js/syj.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/syj.js b/public/js/syj.js index 565d0e1..47e5540 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -353,7 +353,7 @@ var SYJView = { document.observe('simplebox:shown', this.observer.bindAsEventListener(this)); SYJPathLength.update(); - if (FileList && FileReader) { + if (window.FileList && window.FileReader) { $("map").observe("dragenter", function(evt) { evt.stop();}); $("map").observe("dragover", function(evt) { evt.stop();}); $("map").observe("drop", function(evt) { -- 2.39.2