add read access to settings for jsavascript

add an option to disable lightbox modal
This commit is contained in:
AUTOMATIC
2022-09-18 22:25:18 +03:00
parent 21086e60a9
commit f3d83fd68a
5 changed files with 62 additions and 5 deletions

View File

@@ -70,8 +70,8 @@ function showGalleryImage(){
e.style.cursor='pointer'
e.addEventListener('click', function (evt) {
showModal(evt)
if(!opts.js_modal_lightbox) return;
showModal(evt)
},true);
}
});