2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+1 -1
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()
}
+1 -1
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()
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
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()
}