From 6afaf370bcbd6500b992213412715b05aedbedd3 Mon Sep 17 00:00:00 2001 From: cdowdy Date: Tue, 28 Jan 2014 10:27:33 -0500 Subject: [PATCH] modal js fix --- magnific_popup/blocks/magnific_popup/auto.js | 6 +++++- magnific_popup/controller.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/magnific_popup/blocks/magnific_popup/auto.js b/magnific_popup/blocks/magnific_popup/auto.js index a4a93fc..051f825 100644 --- a/magnific_popup/blocks/magnific_popup/auto.js +++ b/magnific_popup/blocks/magnific_popup/auto.js @@ -2,7 +2,7 @@ hideAllDivs = function() { $("#single-options").hide(); $("#singleImage").hide(); $("#galleryImages").hide(); - + $("#modalInputs").hide(); $("#youtubeThumb").hide(); $("#vimeoThumb").hide(); $("#animationDialog").hide(); @@ -39,6 +39,10 @@ handleNewSelection = function() { $("#animationDialog").show(); $("#vidMap").hide(); break; + case 'modal': + $("#modalInputs").show(); + $("#vidMap").hide(); + break; } }; diff --git a/magnific_popup/controller.php b/magnific_popup/controller.php index 9337e56..338507c 100644 --- a/magnific_popup/controller.php +++ b/magnific_popup/controller.php @@ -3,7 +3,7 @@ class MagnificPopupPackage extends Package { protected $pkgHandle = 'magnific_popup'; protected $appVersionRequired = '5.6.0'; - protected $pkgVersion = '0.9.4'; + protected $pkgVersion = '0.9.6'; public function getPackageName() { return t( 'Magnific Popup' );