From 40242fbef00e7d30d3a8e4b27d23fe855f313742 Mon Sep 17 00:00:00 2001 From: Abe Gustafson Date: Mon, 3 Apr 2017 20:59:06 -0500 Subject: [PATCH 1/2] Added functionality to only present anchor tags that have an href pointing to something --- dist/jquery.magnific-popup.js | 12 ++++++++++++ src/js/core.js | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dist/jquery.magnific-popup.js b/dist/jquery.magnific-popup.js index 927b3c1f..c60dc98a 100644 --- a/dist/jquery.magnific-popup.js +++ b/dist/jquery.magnific-popup.js @@ -158,6 +158,18 @@ MagnificPopup.prototype = { var i; if(data.isObj === false) { + + //remove items where the href is empty. EX. Date: Tue, 4 Apr 2017 11:12:46 -0500 Subject: [PATCH 2/2] fixed bug --- dist/jquery.magnific-popup.js | 4 ++-- src/js/core.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/jquery.magnific-popup.js b/dist/jquery.magnific-popup.js index c60dc98a..ca305b9c 100644 --- a/dist/jquery.magnific-popup.js +++ b/dist/jquery.magnific-popup.js @@ -161,8 +161,8 @@ MagnificPopup.prototype = { //remove items where the href is empty. EX.