From f816b2bb3eb5c9b04dfe3fbb787e35210fee8500 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 23 Oct 2014 13:20:06 -0400 Subject: [PATCH] Fixed fancybox for videos. Nextgen had been set to apply lightbox to all images on the site. This caused every single image to spawn a lightbox, like head logo. Only set to Nextgen images again, which required ngg-fancybox to recognise an element (even video) as a "nextgen image". Was previously removing that class to attempt to get it to work at all. --- footer.php | 12 ++++++------ js/app.js | 3 +-- page-73.php | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/footer.php b/footer.php index f97cfcb..4947150 100644 --- a/footer.php +++ b/footer.php @@ -59,13 +59,13 @@ jQuery(function() { jQuery('.enews-signup > a').replaceWith(''); jQuery('.enews-signup > a').on( "click", function() { - jQuery(this).modal({ - closeText: '×', - fadeDuration: 250 - }); + jQuery(this).modal({ + closeText: '×', + fadeDuration: 250 + }); - return false; - }); + return false; + }); }); diff --git a/js/app.js b/js/app.js index 66ba476..9eddb74 100644 --- a/js/app.js +++ b/js/app.js @@ -9,8 +9,7 @@ var c=b.delta_x<0?r+1:r-1;b.active=!0,p._goto(c)}}}).on("touchend.fndtn.orbit",f var $=jQuery.noConflict(); -; -jQuery(document).foundation();;// Joyride demo +;jQuery(document).foundation();;// Joyride demo $('#start-jr').on('click', function() { $(document).foundation('joyride','start'); });; diff --git a/page-73.php b/page-73.php index 2336d06..89fd976 100644 --- a/page-73.php +++ b/page-73.php @@ -48,7 +48,7 @@