Return false
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Mar 2017 13:17:47 +0000 (09:17 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Mar 2017 13:17:47 +0000 (09:17 -0400)
after the click.

js/front.js

index 64004fe..d65b41c 100644 (file)
@@ -2,5 +2,6 @@ jQuery(document).ready(function($){
     $("a.google-map-link").on("click",function(){
         var address = $(this).data('location');
         window.open('https://maps.google.com/?q=' + address, '_blank');
+        return false;
     });
 });