mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Make sure user cards disappear properly on old browsers
closes flarum/core#222
This commit is contained in:
parent
2d9946796d
commit
0de88916b2
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user