From: Anthony Talarico Date: Thu, 30 Jun 2016 17:12:30 +0000 (-0400) Subject: removing unused javascript X-Git-Tag: v1.0.0^2~52 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=98fe532140f219e50d4b8f41944618bbe5bcdbbe;p=WP-Themes%2Ffrancejourneys.git removing unused javascript --- diff --git a/js/app.js b/js/app.js index 69f948b..9831bab 100644 --- a/js/app.js +++ b/js/app.js @@ -115,11 +115,5 @@ $(document).ready(function () { // change breadcrumbs 'products' to 'experiences' $(".post-product-archive").find('span').text('Tours'); $("[property=name]:contains('Products')").html('Tours'); - - var tour_name; - $(".tour-slides").mouseenter( function () { - tour_name = $(this).html(); - tour_name = tour_name.match('product/(.*)/">'); - $(this).find('a').attr('data-content', tour_name[1]); - }); + }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 4b63f06..278bae2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -106,11 +106,5 @@ $(document).ready(function () { // change breadcrumbs 'products' to 'experiences' $(".post-product-archive").find('span').text('Tours'); $("[property=name]:contains('Products')").html('Tours'); - - var tour_name; - $(".tour-slides").mouseenter( function () { - tour_name = $(this).html(); - tour_name = tour_name.match('product/(.*)/">'); - $(this).find('a').attr('data-content', tour_name[1]); - }); + });