Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

img-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

img-lightbox - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Changelog

## 0.1.9 - 2018-12-20
### Changed
- Fixed CSS minification https://github.com/englishextra/iframe-lightbox/issues/17
## 0.1.8 - 2018-12-20

@@ -8,0 +12,0 @@ ### Changed

20

js/img-lightbox.js

@@ -163,19 +163,11 @@ /*!

container[_addEventListener]("click", handleImgLightboxContainer);
/* if (isTouch) {
container[_addEventListener]("touchstart", handleImgLightboxContainer);
} */
if (isTouch) {
container[_addEventListener](
"touchstart",
handleImgLightboxContainer
);
}
btnClose[_addEventListener]("click", handleImgLightboxContainer);
/* if (isTouch) {
btnClose[_addEventListener]("touchstart", handleImgLightboxContainer);
} */
if (isTouch) {
btnClose[_addEventListener](
"touchstart",
handleImgLightboxContainer
);
}
root[_addEventListener]("keyup", function(ev) {

@@ -182,0 +174,0 @@ if (27 === (ev.which || ev.keyCode)) {

{
"name": "img-lightbox",
"version": "0.1.8",
"version": "0.1.9",
"description": "Responsive no-jQuery pure JS/CSS Lightbox for images, no dependencies, 10kb unminified source code, with demo",

@@ -5,0 +5,0 @@ "keywords": ["lightbox",

@@ -38,11 +38,11 @@ # img-lightbox Demo

`https://cdn.jsdelivr.net/gh/englishextra/img-lightbox@latest/img-lightbox.min.js`
`https://cdn.jsdelivr.net/gh/englishextra/img-lightbox@0.1.9/js/img-lightbox.min.js`
`https://cdn.jsdelivr.net/gh/englishextra/img-lightbox@latest/img-lightbox.min.css`
`https://cdn.jsdelivr.net/gh/englishextra/img-lightbox@0.1.9/css/img-lightbox.min.css`
#### unpkg
`https://unpkg.com/img-lightbox@latest/img-lightbox.js`
`https://unpkg.com/img-lightbox@0.1.9/js/img-lightbox.js`
`https://unpkg.com/img-lightbox@latest/img-lightbox.css`
`https://unpkg.com/img-lightbox@0.1.9/css/img-lightbox.css`

@@ -49,0 +49,0 @@ ### Install

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc