Subsitute slid with slid.bs.carousel

This commit is contained in:
Maël Solard
2014-08-07 18:38:41 +02:00
parent 240062b8b1
commit cddbaf3af3
+2 -2
View File
@@ -83,13 +83,13 @@
evt.preventDefault();
var step_id = this.get_current_step_id();
this.titles[step_id] = this.get_current_title();
this.$element.on('slid', this.update_buttons);
this.$element.on('slid.bs.carousel', this.update_buttons);
this.post(false);
},
prev: function(evt) {
evt.preventDefault();
this.$element.on('slid', this.update_buttons);
this.$element.on('slid.bs.carousel', this.update_buttons);
this.$element.carousel('prev');
this.set_current_title(this.titles[this.get_current_step_id()]);
},