Skip to content

Commit

Permalink
Merged pull request #126,#127 - Thanks to jieter
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 21, 2019
1 parent a0286ba commit 808792c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ $add-vendor-prefixes: true !default;


### Changelog
**1.16.3 - Merged pull request #126,#127 - Thanks to jieter**
**1.16.2 - Added featured #124 - Add a class to html element if lightbox is open**
**1.16.1 - Fixed pinch to zoom offset error on scrolling #123**
**1.16.0 - Pinch to Zoom feature for touch devices with new options doubleTapZoom and maxZoom #79**
Expand Down Expand Up @@ -216,7 +217,7 @@ $add-vendor-prefixes: true !default;
**1.0.0 - Initial Release**

### Author
[Andre Rinas](http://andrerinas.de/) - [Github](https://github.com/andreknieriem/)
[Andre Rinas](https://www.andrerinas.de/) - [Github](https://github.com/andreknieriem/)

### Contributors
[nicekiwi](https://github.com/nicekiwi)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelightbox",
"version": "1.16.2",
"version": "1.16.3",
"homepage": "http://simplelightbox.com/",
"authors": [
"André Rinas <[email protected]> (https://www.andrerinas.de)"
Expand Down
7 changes: 5 additions & 2 deletions dist/simple-lightbox.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
/*!
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.de
Available for use under the MIT License
1.16.2
1.16.3
*/
;( function( $, window, document, undefined )
{
Expand Down Expand Up @@ -413,6 +413,9 @@ $.fn.simpleLightbox = function( options )
image
.on( 'touchstart.'+prefix+' mousedown.'+prefix, function(e)
{
if (e.target.tagName === 'A' && e.type == 'touchstart') {
return true;
}
e = e.originalEvent;
if(e.type == 'mousedown') {

Expand Down
Loading

0 comments on commit 808792c

Please sign in to comment.