Commit f3aac110 authored by afzafri's avatar afzafri
Browse files

define the selector for the lightGallery. This fix the error message

parent 7d12243f
......@@ -10,7 +10,9 @@ $(document).ready(function(){
$(document).one('click','#comicImg',function(){
event.preventDefault();
// initialize gallery
$('#output').lightGallery();
$('#output').lightGallery({
selector: 'a'
});
$(this).click();
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment