aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js.js b/web/js.js
index 8a29f34eb..ebe6e86f4 100644
--- a/web/js.js
+++ b/web/js.js
@@ -26,7 +26,7 @@ function compass_pan(e, a) {
YAHOO.util.Event.onContentReady('compass', function() {
var ua=navigator.userAgent.toLowerCase();
- if (document.getElementById('mapForm') && (/safari/.test(ua) || /Konqueror/.test(ua))) return;
+ // if (document.getElementById('mapForm') && (/safari/.test(ua) || /Konqueror/.test(ua))) return;
if (document.getElementById('map').offsetWidth > 510) return;
var points = this.getElementsByTagName('a');
@@ -43,7 +43,7 @@ YAHOO.util.Event.onContentReady('compass', function() {
YAHOO.util.Event.onContentReady('map', function() {
var ua=navigator.userAgent.toLowerCase();
- if (document.getElementById('mapForm') && (/safari/.test(ua) || /Konqueror/.test(ua))) return;
+ // if (document.getElementById('mapForm') && (/safari/.test(ua) || /Konqueror/.test(ua))) return;
if (document.getElementById('map').offsetWidth > 510) return;
new YAHOO.util.DDMap('map');