new lightbox interface v2

This commit is contained in:
2019-10-20 20:08:15 +02:00
parent 912888814a
commit 733f5edc62
8 changed files with 24 additions and 28 deletions

View File

@@ -153,7 +153,10 @@
};
// Attach event handlers to the newly minted DOM elements
this.$overlay.hide().on('click', function() {
//ADDED-START
//this.$overlay.hide().on('click', function() {
this.$overlay.hide().add(this.$lightbox.find('.lb-dataContainer')).on('click', function() {
//ADDED-END
self.end();
return false;
});
@@ -504,7 +507,7 @@
function postResize() {
//ADDED-START
//self.$lightbox.find('.lb-dataContainer').width(newWidth);
self.$lightbox.height(newHeight);
self.$lightbox.find('.lb-dataContainer').height(newHeight);
//ADDED-END
self.$lightbox.find('.lb-prevLink').height(newHeight);
self.$lightbox.find('.lb-nextLink').height(newHeight);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long