mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Subsitute slid with slid.bs.carousel
This commit is contained in:
@@ -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()]);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user