Skip to content

Commit

Permalink
Fixed issue #114
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Apr 7, 2015
1 parent f954997 commit 91ae40a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dist/css/lightslider.css
@@ -1,4 +1,4 @@
/*! lightslider - v1.1.2 - 2015-04-05
/*! lightslider - v1.1.2 - 2015-04-07
* https://github.com/sachinchoolur/lightslider
* Copyright (c) 2015 Sachin N; Licensed MIT */
/** /!!! core css Should not edit !!!/**/
Expand Down
10 changes: 2 additions & 8 deletions dist/js/lightslider.js
@@ -1,4 +1,4 @@
/*! lightslider - v1.1.2 - 2015-04-05
/*! lightslider - v1.1.2 - 2015-04-07
* https://github.com/sachinchoolur/lightslider
* Copyright (c) 2015 Sachin N; Licensed MIT */
(function ($, undefined) {
Expand Down Expand Up @@ -382,13 +382,7 @@
}
}
var $cSouter = $slide.parent();
$cSouter.find('.lSPager').html(pagers);
if (!settings.vertical && settings.gallery) {
var $pgr = $slide.parent().find('.lSGallery');
setTimeout(function () {
$this.setHeight($pgr, false, false);
});
}
$cSouter.find('.lSPager').html(pagers);
if (settings.gallery === true) {
if (settings.vertical === true) {
// set Gallery thumbnail width
Expand Down
4 changes: 2 additions & 2 deletions dist/js/lightslider.min.js

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions src/js/lightslider.js
Expand Up @@ -379,13 +379,7 @@
}
}
var $cSouter = $slide.parent();
$cSouter.find('.lSPager').html(pagers);
if (!settings.vertical && settings.gallery) {
var $pgr = $slide.parent().find('.lSGallery');
setTimeout(function () {
$this.setHeight($pgr, false, false);
});
}
$cSouter.find('.lSPager').html(pagers);
if (settings.gallery === true) {
if (settings.vertical === true) {
// set Gallery thumbnail width
Expand Down

0 comments on commit 91ae40a

Please sign in to comment.