From: Laury GvR Date: Wed, 3 Jun 2015 19:38:14 +0000 (-0400) Subject: Trying a different approach to to get rid of recipe links. X-Git-Tag: v1.0.0~49 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=b41507d424ea44ce98ff76b67522034471a28e2d;p=WP-Themes%2FToskiSands.git Trying a different approach to to get rid of recipe links. --- diff --git a/js/app.js b/js/app.js index c371494..c55d2e4 100644 --- a/js/app.js +++ b/js/app.js @@ -17,6 +17,7 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); - $('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none'); + //$('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none'); + $('.wpurp-recipe-ingredient-name a').removeAttr("href").css('pointever-events','none !important'); $('.wpurp-recipe-ingredient').attr('list-style','none !important'); }); \ No newline at end of file diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index d5692bd..790211b 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -8,6 +8,7 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); - $('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none'); + //$('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none'); + $('.wpurp-recipe-ingredient-name a').removeAttr("href").css('pointever-events','none !important'); $('.wpurp-recipe-ingredient').attr('list-style','none !important'); }); \ No newline at end of file