nazarhussain
Member
Posted 1 year ago #
When i tested this plugin with my blog, i faced this error:
Uncaught TypeError: Cannot read property 'id' of undefined
After testing and locating from where it comes, this plugin was generating some scripts, the script file is class-gallery.php so which is generating a script for #slider element which does not exists on the page. Hope some one will fix it soon.
nazarhussain
Member
Posted 1 year ago #
Replaced line 82 of the file class-gallery.php with this code
$r.="jQuery(document).ready(function() { if(jQuery('#slider').length > 0) { jQuery('#slider').s3Slider({ timeOut: 3000 }); } });";
Fixed the problem.
Well i tested it with a gallery on my page so just missed id, Sorry for that Will queue it in next release.
Thanks,
-Xydac