diff --git a/resources/assets/js/iframeSearch.js b/resources/assets/js/iframeSearch.js index 3d4e3e516e9c66d6c75a26ae6bb9a6d7c5d40b51..7ce8b3e5dc42ff837a4ac99f2bee86f0a2606f5d 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 f7754f101511b702db8403d239a07f875cf55a22..f9a8ce2d6e1ba02d540bd5ab806fb43010c3aeb0 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>