Commit c7cd2fda authored by ruocaled's avatar ruocaled Committed by AUTOMATIC1111

re-attach full screen zoom listeners

parent b26efff8
......@@ -74,6 +74,9 @@ function check_gallery(id_gallery){
if (prevSelectedIndex !== -1 && galleryButtons.length>prevSelectedIndex && !galleryBtnSelected) {
//automatically re-open previously selected index (if exists)
galleryButtons[prevSelectedIndex].click();
setTimeout(function (){
showGalleryImage()
},100)
}
})
galleryObservers[id_gallery].observe( gallery, { childList:true, subtree:false })
......
Markdown is supported
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