2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+2 -2
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')
}
}