Make sure user cards disappear properly on old browsers

closes flarum/core#222
This commit is contained in:
Toby Zerner 2015-08-13 13:04:24 +09:30
parent 2d9946796d
commit 0de88916b2

View File

@ -92,7 +92,7 @@ export default class PostUser extends Component {
*/
hideCard() {
this.$('.UserCard').removeClass('in')
.one('transitionend', () => {
.one('transitionend webkitTransitionEnd oTransitionEnd', () => {
this.cardVisible = false;
m.redraw();
});