From: Anthony Talarico Date: Tue, 2 Aug 2016 17:27:39 +0000 (-0400) Subject: removing window.location.href code for image map for further testing X-Git-Tag: v1.0.0^2~193 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1d3a9e4300caf3dec0972c06b21818a80343cb26;p=WP-Themes%2Fpetoskeyarea.git removing window.location.href code for image map for further testing --- diff --git a/front-page.php b/front-page.php index 3caac2f..d345aa3 100644 --- a/front-page.php +++ b/front-page.php @@ -80,9 +80,9 @@ foreach ($posts as $p){ var id; function get_id(el){ -// console.log(el.alt); + console.log(el.alt); id = el.getAttribute("data-id"); - window.location.href = site_array[el.getAttribute("data-id")]; +// window.location.href = site_array[el.getAttribute("data-id")]; }