Skip to content

Commit

Permalink
Fixed new chrome passive error #155
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 28, 2019
1 parent cecf53c commit a47df46
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions 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.17.3 - Fixed new chrome passive error #155**
**1.17.2 - Fixed caption keeps disappeared on double click #139 and added better close symbol #133**
**1.17.1 - Added webp in fileExt list #135, removed hardcoded a-tag in isValidLink function #134**
**1.17.0 - Merged pull request #132. Added double click to zoom for desktop browsers - Thanks to coderkan**
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simplelightbox",
"version": "1.17.2",
"homepage": "http://simplelightbox.com/",
"version": "1.17.3",
"homepage": "https://simplelightbox.com/",
"authors": [
"André Rinas <[email protected]> (https://www.andrerinas.de)"
],
Expand Down
6 changes: 3 additions & 3 deletions dist/simple-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.de
Available for use under the MIT License
1.17.2
1.17.3
*/
;( function( $, window, document, undefined )
{
Expand Down Expand Up @@ -346,7 +346,7 @@ $.fn.simpleLightbox = function( options )
$( window ).on( 'resize.'+prefix, adjustImage );

// close lightbox on close btn
$( document ).on('click.'+prefix+ ' touchstart.'+prefix, '.sl-close', function(e){
$( '.sl-wrapper' ).on('click.'+prefix+ ' touchstart.'+prefix, '.sl-close', function(e){
e.preventDefault();
if(opened){ close();}
});
Expand Down Expand Up @@ -672,7 +672,7 @@ $.fn.simpleLightbox = function( options )
},
removeEvents = function(){
nav.off('click', 'button');
$( document ).off('click.'+prefix, '.sl-close');
$( '.sl-wrapper' ).off('click.'+prefix, '.sl-close');
$( window ).off( 'resize.'+prefix);
$( window ).off( 'hashchange.'+prefix);
},
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-lightbox.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelightbox",
"version": "1.17.2",
"version": "1.17.3",
"description": "Touch-friendly image lightbox for mobile and desktop with jQuery",
"main": "dist/simple-lightbox.js",
"style": "dist/simplelightbox.scss",
Expand Down Expand Up @@ -31,7 +31,7 @@
"bugs": {
"url": "https://github.com/andreknieriem/simplelightbox/issues"
},
"homepage": "http://simplelightbox.com/",
"homepage": "https://simplelightbox.com/",
"scripts": {
"minify": "uglifyjs dist/simple-lightbox.js --compress --comments '/^\/*!/' --mangle --output dist/simple-lightbox.min.js"
},
Expand Down

0 comments on commit a47df46

Please sign in to comment.