From c3d74e21f21bb310c73091c2eae3ce265b8f31fb Mon Sep 17 00:00:00 2001 From: ars Date: Thu, 31 Aug 2023 09:20:09 +0200 Subject: [PATCH] Fixing error with caption sibling matches and added option for captionHTML. --- README.md | 1 + bower.json | 2 +- demo/index.html | 7 +- dist/simple-lightbox.css | 2 +- dist/simple-lightbox.esm.js | 3172 ++++++++++++++-------------- dist/simple-lightbox.jquery.js | 18 +- dist/simple-lightbox.jquery.min.js | 2 +- dist/simple-lightbox.js | 12 +- dist/simple-lightbox.legacy.js | 1032 ++++----- dist/simple-lightbox.legacy.min.js | 2 +- dist/simple-lightbox.min.css | 2 +- dist/simple-lightbox.min.js | 2 +- dist/simple-lightbox.modules.js | 18 +- package.json | 2 +- src/license-notice.txt | 2 +- src/simple-lightbox.js | 2 +- 16 files changed, 1995 insertions(+), 2283 deletions(-) diff --git a/README.md b/README.md index 719f01b..ad06de4 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,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.2 - Fixing error with caption sibling matches and added option for captionHTML.** **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.** diff --git a/bower.json b/bower.json index 21182d5..f266b5e 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simplelightbox", - "version": "2.14.1", + "version": "2.14.2", "homepage": "https://simplelightbox.com/", "authors": [ "André Rinas (https://www.andrerinas.de)" diff --git a/demo/index.html b/demo/index.html index 96f9d97..7976273 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,7 +4,7 @@ - + SimpleLightbox by André Rinas @@ -14,7 +14,7 @@
-

SimpleLightbox v2.14.1

+

SimpleLightbox v2.14.2

Touch-friendly image lightbox
+ 2.14.2 - Fixing error with caption sibling matches and added option for captionHTML.
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.
@@ -775,7 +776,7 @@

Author/
Contributors

- +