only trigger $.support.transition.end when it exists
This commit is contained in:
parent
3a751a63d4
commit
ebc1fe907d
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue