1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 13:59:06 +02:00

make generic fade animation css class

This commit is contained in:
Jacob Thornton
2011-08-27 18:03:01 -07:00
parent 2ee7c20692
commit e05d39d4cc
7 changed files with 36 additions and 37 deletions

View File

@@ -51,11 +51,11 @@
that.$element = null
}
$.support.transition ?
$.support.transition && this.$element.hasClass('fade') ?
this.$element.bind(transitionEnd, removeElement) :
removeElement()
this.$element.removeClass('show')
this.$element.removeClass('in')
}
}