bs5-lightbox
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -73,3 +73,3 @@ /** | ||
const regex = new RegExp(this.#types.join('|')); | ||
return regex.test(src); | ||
return regex.test(src) || !/\.(png|jpe?g|gif|svg|webp)/.test(src); | ||
} | ||
@@ -76,0 +76,0 @@ |
{ | ||
"name": "bs5-lightbox", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Travis Aaron Wagner", |
Lightbox for Bootstrap 5 | ||
======== | ||
A lightbox module written in vanilla JavaScript for Bootstrap that supports images and galleries—built around Bootstrap's Modal and Carousel plugins. | ||
A lightbox module written in vanilla JavaScript for Bootstrap that supports images, galleries, YouTube, Vimeo, and Instagram—built around Bootstrap's Modal and Carousel plugins. | ||
@@ -6,0 +6,0 @@ Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8446