0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

only trigger $.support.transition.end when it exists

This commit is contained in:
Jacob Thornton 2012-06-02 21:09:13 -07:00
parent 3a751a63d4
commit ebc1fe907d
4 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@
, pause: function (e) {
if (!e) this.paused = true
if (this.$element.find('.next, .prev')) {
if (this.$element.find('.next, .prev') && $.support.transition.end) {
this.$element.trigger($.support.transition.end)
this.cycle()
}

View File

@ -312,7 +312,7 @@
, pause: function (e) {
if (!e) this.paused = true
if (this.$element.find('.next, .prev')) {
if (this.$element.find('.next, .prev') && $.support.transition.end) {
this.$element.trigger($.support.transition.end)
this.cycle()
}

File diff suppressed because one or more lines are too long

View File

@ -68,7 +68,7 @@
, pause: function (e) {
if (!e) this.paused = true
if (this.$element.find('.next, .prev')) {
if (this.$element.find('.next, .prev') && $.support.transition.end) {
this.$element.trigger($.support.transition.end)
this.cycle()
}