From 4bdd3810740a165ef865395e0d49337eb386c4c8 Mon Sep 17 00:00:00 2001 From: Joseph Wynn Date: Fri, 3 Mar 2017 19:35:31 +0000 Subject: [PATCH] Fix typo - don't remove the modal when clicking to exit --- lib/wraith/gallery_template/slideshow_template.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wraith/gallery_template/slideshow_template.erb b/lib/wraith/gallery_template/slideshow_template.erb index e80ab201..1f4bd797 100644 --- a/lib/wraith/gallery_template/slideshow_template.erb +++ b/lib/wraith/gallery_template/slideshow_template.erb @@ -152,7 +152,7 @@ }) compareModal.on('click', function(){ - $(this).remove(); + $(this).hide(); }); $(document).on('keyup', function(e) {