mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
Make sure user cards disappear properly on old browsers
closes flarum/core#222
This commit is contained in:
@@ -92,7 +92,7 @@ export default class PostUser extends Component {
|
|||||||
*/
|
*/
|
||||||
hideCard() {
|
hideCard() {
|
||||||
this.$('.UserCard').removeClass('in')
|
this.$('.UserCard').removeClass('in')
|
||||||
.one('transitionend', () => {
|
.one('transitionend webkitTransitionEnd oTransitionEnd', () => {
|
||||||
this.cardVisible = false;
|
this.cardVisible = false;
|
||||||
m.redraw();
|
m.redraw();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user