From 7b2c354255a3d2226a13205034caf8df6656206c Mon Sep 17 00:00:00 2001 From: ars Date: Fri, 26 May 2023 10:33:48 +0200 Subject: [PATCH] Fixing #314. The captionSelector was to heavy. To not break #61 again I wrote a workaround for css + & > selectors --- README.md | 1 + bower.json | 2 +- demo/index.html | 7 +- dist/simple-lightbox.css | 2 +- dist/simple-lightbox.esm.js | 23 +- dist/simple-lightbox.jquery.js | 22 +- dist/simple-lightbox.jquery.min.js | 2 +- dist/simple-lightbox.js | 22 +- dist/simple-lightbox.legacy.js | 329 +++++++++++++++++++---------- dist/simple-lightbox.legacy.min.js | 2 +- dist/simple-lightbox.min.css | 2 +- dist/simple-lightbox.min.js | 2 +- dist/simple-lightbox.modules.js | 22 +- package.json | 2 +- src/license-notice.txt | 2 +- src/simple-lightbox.js | 21 +- 16 files changed, 326 insertions(+), 137 deletions(-) diff --git a/README.md b/README.md index 2917e16..8801cdd 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,7 @@ Run `gulp watch` to enable continous watching of both src/simple-lightbox.js and Just call `gulp build` to have all files and variants created inside dist! ### Changelog +**2.14.1 - Fixing #314. The captionSelector was to heavy. To not break #61 again I wrote a workaround for css + & > selectors** **2.14.0 - Merging #309 - thank to @romain25, fixing #305 - removeChild error if overlay option is disabled.** **2.13.0 - Fixing #281 close lightbox on load,#311 caption not working, #307 second time opening not working with download option, #310 - passive scroll event default warning in console.** **2.12.1 - Fixing #292. Error with download-link** diff --git a/bower.json b/bower.json index 2c633df..21182d5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simplelightbox", - "version": "2.14.0", + "version": "2.14.1", "homepage": "https://simplelightbox.com/", "authors": [ "André Rinas (https://www.andrerinas.de)" diff --git a/demo/index.html b/demo/index.html index 7dbe791..96f9d97 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,7 +4,7 @@ - + SimpleLightbox by André Rinas @@ -14,7 +14,7 @@
-

SimpleLightbox v2.14.0

+

SimpleLightbox v2.14.1

Touch-friendly image lightbox
+ 2.14.1 - Fixing #314. The captionSelector was to heavy. To not break #61 again I wrote a workaround for css + & > selectors
2.14.0 - Merging #309 - thank to @romain25, fixing #305 - removeChild error if overlay option is disabled.
2.13.0 - Fixing #281 close lightbox on load,#311 caption not working, #307 second time opening not working with download option, #310 - passive scroll event default warning in console.
2.12.1 - Fixing #292. Error with download-link
@@ -774,7 +775,7 @@

Author/
Contributors

- +