img-lightbox
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -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 |
@@ -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 |
18917
453