Skip to content

Commit

Permalink
var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uncovery committed Mar 24, 2016
1 parent 27a8883 commit 7786edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unc_display.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
</script>";
Expand Down

0 comments on commit 7786edd

Please sign in to comment.