From 98fe532140f219e50d4b8f41944618bbe5bcdbbe Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 30 Jun 2016 13:12:30 -0400 Subject: [PATCH] removing unused javascript --- js/app.js | 8 +------- js/custom/pageSetup.js | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) 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]); - }); + }); -- 2.17.1