From 64c0a6a75ac23640caa2e859cb6d5a922a481106 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Mon, 21 Nov 2016 09:11:21 +0100
Subject: [PATCH] =?UTF-8?q?Fehler=20behoben:=20Das=20JavaScript,=20um=20da?=
 =?UTF-8?q?s=20doppelte=20=C3=96ffnen=20der=20Tabs=20zu=20verhindern=20wur?=
 =?UTF-8?q?de=20ausgef=C3=BChrt,=20bevor=20die=20Ergebnisse=20eingef=C3=BC?=
 =?UTF-8?q?gt=20wurden?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 resources/assets/js/iframeSearch.js | 4 +---
 resources/views/mapIframe.blade.php | 1 +
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/resources/assets/js/iframeSearch.js b/resources/assets/js/iframeSearch.js
index 3d4e3e5..7ce8b3e 100644
--- a/resources/assets/js/iframeSearch.js
+++ b/resources/assets/js/iframeSearch.js
@@ -64,6 +64,4 @@ function initMap() {
         $(this).blur();
         return false;
     });
-}
-
-$(".result .btn").click(function(e){e.stopPropagation();});
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/resources/views/mapIframe.blade.php b/resources/views/mapIframe.blade.php
index f7754f1..f9a8ce2 100644
--- a/resources/views/mapIframe.blade.php
+++ b/resources/views/mapIframe.blade.php
@@ -40,6 +40,7 @@
                         updateMapExtent();
                         window.open(link);
                     });
+                    $(".result .btn").click(function(e){e.stopPropagation();});
                 });
             });
         </script>
-- 
GitLab