Skip to content

Commit

Permalink
SemanticResultFormats (KM-A) (#727)
Browse files Browse the repository at this point in the history
Changed function name to avoid conflicts

Co-authored-by: Bernhard Krabina <[email protected]>
  • Loading branch information
thomas-topway-it and krabina authored Sep 21, 2022
1 parent ad5ea25 commit ee30d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion formats/widget/resources/ext.srf.pagewidget.carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

// Iterate over available container objects
container.each( function() {
$( this ).carousel( {
$( this ).dynamicCarousel( {
namespace: 'srf-pagewidget-carousel',
slider: '.slider',
slide: '.slide'
Expand Down
4 changes: 2 additions & 2 deletions resources/jquery/jquery.dynamiccarousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
return this;
};

$.fn.carousel = function(config) {
$.fn.dynamicCarousel = function(config) {

// Prevent re-init:
if( this.data( "carousel-initialized" ) ) { return; }
Expand Down Expand Up @@ -523,4 +523,4 @@ $.event.special.dragSnap = {
});
});
}
};
};

0 comments on commit ee30d46

Please sign in to comment.