diff --git a/app/assets/javascripts/theater.js b/app/assets/javascripts/theater.js index 43a7ab3..64dc847 100644 --- a/app/assets/javascripts/theater.js +++ b/app/assets/javascripts/theater.js @@ -380,6 +380,8 @@ window.GalleryTheater = function() { setMainPic("prev", true); } else if (old_index < index) { setMainPic("next", true); + }else{ + setMainPic(); } return false; })