Photo Gallery 'Loading' after one click and opening after another mouse click. Why?


#21

It hasn’t really been fixed. I have this problem still today. I’m really disappointed in this theme


#22

This is the solution:
(function($) {
$(’.mk-album-link’).each(removeNullRef);
function removeNullRef() {
var $album = $(this); var images = $album.attr(‘data-photoalbum-images’);
images = images.replace(‘null,’, ‘’).replace(‘null’, ‘’); // filter out nulls from string
$album.attr(‘data-photoalbum-images’, images); // put it back
}
}(jQuery));


#23

Thanks for the code, but I guess it is too complicated for a lay user to try to put any type of code anywhere. The responsibility lies with the theme developers to address this issue at the earliest.


#24

You can simply add the JS code in Jupiter -> Theme Options -> Advanced -> Custom JS

Thanks.