2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

check length so that pause, actually pauses

This commit is contained in:
Jacob Thornton
2012-06-03 11:24:19 -07:00
parent 2d3a0babd2
commit 31e8a358c3
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -312,7 +312,7 @@
, pause: function (e) {
if (!e) this.paused = true
if (this.$element.find('.next, .prev') && $.support.transition.end) {
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
this.$element.trigger($.support.transition.end)
this.cycle()
}