Skip to content

Commit

Permalink
Update jQuery plugin to version 1.6.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Jan 29, 2022
1 parent 7234fc3 commit 5046fcc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/rsts_default.html5
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
$attributes[] = 'data-rsts-center="' . $slide['centerContent'] . '"';
}
if (!empty($slide['slideClass'])) {
$attributes[] = 'class="' . $slide['slideClass'] . '"';
$attributes[] = 'data-rsts-slide-class="' . $slide['slideClass'] . '"';
}
if (
(!empty($slide['invertControls']) && empty($this->rsts_invertControls))
Expand Down
4 changes: 3 additions & 1 deletion src/Resources/public/js/rocksolid-slider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! rocksolid-slider v1.6.14 */
/*! rocksolid-slider v1.6.15 */
(function($, window, document) {

var Rst = {};
Expand Down Expand Up @@ -67,6 +67,8 @@ Rst.Slide = (function() {

this.content = $(element);

this.element.addClass(this.content.attr('data-rsts-slide-class'));

var sliderClasses = this.content.attr('data-rsts-class');

this.data.name = this.content.attr('data-rsts-name') || this.content.attr('title');
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/public/js/rocksolid-slider.min.js

Large diffs are not rendered by default.

0 comments on commit 5046fcc

Please sign in to comment.