From: MZuenni Date: Thu, 1 Feb 2024 13:45:51 +0000 (+0100) Subject: fix? X-Git-Url: https://i11git.iti.kit.edu/anon-gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=Praktika%2FRoutenplanung%2FMapServer.git fix? --- diff --git a/Sites/MapServer/index.html b/Sites/MapServer/index.html index d49db4e..6946111 100644 --- a/Sites/MapServer/index.html +++ b/Sites/MapServer/index.html @@ -4,7 +4,7 @@ - + diff --git a/Sites/MapServer/js/prototype.js b/Sites/MapServer/js/prototype.js index 474b223..a2c5199 100644 --- a/Sites/MapServer/js/prototype.js +++ b/Sites/MapServer/js/prototype.js @@ -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; },