Skip to content

Commit

Permalink
Updated jQuery plugin to version 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Oct 17, 2016
1 parent 94450d8 commit 3f3ee1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion assets/js/rocksolid-slider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! rocksolid-slider v1.6.0 */
/*! rocksolid-slider v1.6.1 */
(function($, window, document) {

var Rst = {};
Expand Down Expand Up @@ -1765,6 +1765,12 @@ Rst.Slider = (function() {
css['transition-duration'] = duration ? duration + 'ms' :
this.options.duration * durationScale + 'ms';
element.css(css);
// Fix iOS Safari bug with invisible slides, see #41
if (['iPhone', 'iPad', 'iPod'].indexOf(this.device) !== -1) {
element.css('height', '0');
element.height();
element.css('height', '');
}
}
else if (animate) {
element.animate(css, {
Expand Down
Loading

0 comments on commit 3f3ee1f

Please sign in to comment.