From 7786edde74f8995a6159be7de9d0ddd7eacf3e61 Mon Sep 17 00:00:00 2001 From: uncovery Date: Fri, 25 Mar 2016 01:48:28 +0900 Subject: [PATCH] var fix --- unc_display.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unc_display.inc.php b/unc_display.inc.php index 6ccc809..1290cc4 100644 --- a/unc_display.inc.php +++ b/unc_display.inc.php @@ -367,7 +367,7 @@ function unc_g_photoswipe_' . $js_code . '(index) { } $out .= "]; var pswpElement = document.querySelectorAll('.pswp')[0]; - var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, uncg_items_' . $js_code . ', options); + var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, uncg_items_$js_code, options); gallery.init(); } ";