Skip to content

Commit

Permalink
Bugfix for #89
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 9, 2018
1 parent cb8dabd commit 0aca8d7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ $sl-iframe-border-large: 0 none;


### Changelog
**1.12.2 - Bugfix for #89**
**1.12.1 - Bugfix for #88,#87 and remove bind/unbind #84**
**1.12.0 - New option captionClass #81, bugfix for #82**
**1.11.1 - Merged pull request #76. Thanks to walterebert, added support for images with parameters and file extension check #59**
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.12.1",
"version": "1.12.2",
"homepage": "http://andreknieriem.de/simple-lightbox",
"authors": [
"André Rinas <[email protected]> (http://andrerinas.de)"
Expand Down
6 changes: 3 additions & 3 deletions dist/simple-lightbox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
By André Rinas, www.andrerinas.de
Available for use under the MIT License
1.12.1
1.12.2
*/
;( function( $, window, document, undefined )
{
Expand Down Expand Up @@ -76,12 +76,12 @@ $.fn.simpleLightbox = function( options )
opened = false,
loaded = [],
getRelated = function(rel, jqObj) {
var $related = $(jqObj.selector).filter(function () {
var $related = jqObj.filter(function () {
return ($(this).attr('rel') === rel);
});
return $related;
},
objects = (options.rel && options.rel !== false) ? getRelated(options.rel, this) : this,
objects = (options.rel && options.rel !== false) ? getRelated(options.rel, $(this)) : this,
transPrefix = transPrefix(),
globalScrollbarwidth = 0,
canTransisions = (transPrefix !== false) ? true : false,
Expand Down
4 changes: 2 additions & 2 deletions 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.12.0",
"version": "1.12.2",
"description": "Touch-friendly image lightbox for mobile and desktop with jQuery",
"main": "dist/simple-lightbox.js",
"repository": {
Expand Down

0 comments on commit 0aca8d7

Please sign in to comment.