From: Anthony Talarico Date: Fri, 11 Dec 2015 19:50:10 +0000 (-0500) Subject: getting url X-Git-Tag: v1.0.0^2~9 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=8fa31153c875e6306539053af98cfa5fe1aa9049;p=WP-Themes%2Fthemoleholeonline.git getting url --- diff --git a/js/galleria.min.js b/js/galleria.min.js index 3d5f96a..c749a9c 100644 --- a/js/galleria.min.js +++ b/js/galleria.min.js @@ -1,8 +1,8 @@ !function(){jQuery(window).load(function(){ - if(jQuery(location).attr('pathname').indexOf("page_id=18") >= 0){ + if(window.location.href.indexOf("page_id=18") >= 0){ alert(jQuery(location).attr('pathname')); } else { - alert(jQuery(location).attr('pathname')); + alert(window.location.href); } jQuery(".product-category.product .fadeIn").find("mark").remove(); jQuery('.page_item.page-item-16').append("");