Skip to content

Commit

Permalink
Merged pull requests #65. Thanks to mstaniuk
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 22, 2017
1 parent 4c5d590 commit c444c05
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ $sl-iframe-border-large: 0 none;


### Changelog
**1.10.6 - Merged pull requests #65. Thanks to mstaniuk**
**1.10.5 - Merged pull requests #60 and #61. Thanks to slavanga**
**1.10.4 - Bugfix von #58**
**1.10.3 - Merged pull requests #55, #56 and #57. Thanks to karland**
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.10.5",
"version": "1.10.6",
"homepage": "http://andreknieriem.de/simple-lightbox",
"authors": [
"André Rinas <[email protected]> (http://andreknieriem.de)"
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,10 @@ $.fn.simpleLightbox = function( options )
// keyboard-control
if( options.enableKeyboard ){
$( document ).on( 'keyup.'+prefix, function( e ){
e.preventDefault();
swipeDiff = 0;
// keyboard control only if lightbox is open
if(opened){
e.preventDefault();
var key = e.keyCode;
if( key == 27 ) {
close();
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-lightbox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelightbox",
"version": "1.10.5",
"version": "1.10.6",
"description": "Touch-friendly image lightbox for mobile and desktop with jQuery",
"main": "dist/simple-lightbox.js",
"repository": {
Expand Down

0 comments on commit c444c05

Please sign in to comment.