fix? master
authorMZuenni <michi.zuendorf@gmail.com>
Thu, 1 Feb 2024 13:45:51 +0000 (14:45 +0100)
committerMZuenni <michi.zuendorf@gmail.com>
Thu, 1 Feb 2024 13:45:51 +0000 (14:45 +0100)
Sites/MapServer/index.html
Sites/MapServer/js/prototype.js

index d49db4eb4c8aba74cb83e879bba318ffbd8839e7..6946111a325e07ace4bec4b17be2ca17602f4f7f 100644 (file)
@@ -4,7 +4,7 @@
 <head>
     <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
     <link href="main.css" type="text/css" rel="stylesheet">
-    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?v=3.21&sensor=false"></script>
+    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
     <script type="text/javascript" src="js/prototype.js"></script>
     <script type="text/javascript" src="js/maps.js"></script>
 </head>
index 474b2231bbdd2b9756ae0a4cf62c20496695e891..a2c5199c1498f2bffea12908addd7985dc322812 100644 (file)
@@ -1078,7 +1078,7 @@ function $w(string) {
   return string ? string.split(/\s+/) : [];
 }
 
-Array.from = $A;
+//Array.from = $A;
 
 
 (function() {
@@ -1940,7 +1940,8 @@ Element.Methods = {
 
   remove: function(element) {
     element = $(element);
-    element.parentNode.removeChild(element);
+    if (element.parentNode)
+      element.parentNode.removeChild(element);
     return element;
   },