[FIX] website snippet: carousel
bzr revid: chm@openerp.com-20131125093056-7rvp01yvy63evejp
This commit is contained in:
parent
a205becbd1
commit
4456594d40
|
@ -53,7 +53,7 @@
|
|||
|
||||
website.snippet.animationRegistry.carousel = website.snippet.Animation.extend({
|
||||
start: function () {
|
||||
this.$target.carousel({interval: false});
|
||||
this.$target.carousel({interval: 10000});
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -1125,7 +1125,8 @@
|
|||
id = _id + 1;
|
||||
}
|
||||
});
|
||||
this.$target.attr("id", "myCarousel" + id);
|
||||
this.id = "myCarousel" + id;
|
||||
this.$target.attr("id", this.id);
|
||||
this.$target.find(".carousel-control").attr("href", "#myCarousel" + id);
|
||||
this.$target.find("[data-target='#myCarousel']").attr("data-target", "#myCarousel" + id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue