Skip to content
Browse files

fix stupid autocompletion, thanks to RStankov

  • Loading branch information...
1 parent 974e264 commit aada08b0cf3d2a55e9a82a5a76715fd4df00fb8f @sgruhier committed
Showing with 3 additions and 1 deletion.
  1. +2 −0 README.rdoc
  2. +1 −1 src/carousel.js
View
2 README.rdoc
@@ -10,8 +10,10 @@
* 37signals sortfolio carousel
http://xilinus.com/scripty2-carousel/examples/37signals-sortfolio/thumb.png
+
http://xilinus.com/scripty2-carousel/examples/37signals-sortfolio/index.html
* Apple store carousel
http://xilinus.com/scripty2-carousel/examples/applestore/thumb.png
+
http://xilinus.com/scripty2-carousel/examples/applestore/index.html
View
2 src/carousel.js
@@ -157,7 +157,7 @@ S2.FX.Element.addMethods({
// Create slider
this.slider = new S2.UI.Slider(this.options.slider,
- {onSlide: update, onSlide: update, orientation: this.options.orientation});
+ {onSlide: update, onChange: update, orientation: this.options.orientation});
this.getContainer().observe('carousel:position:changed', function(event) {
if (ignoreEvent) {

0 comments on commit aada08b

Please sign in to comment.
Something went wrong with that request. Please try again.