1
0
mirror of https://github.com/flarum/core.git synced 2025-07-09 11:03:06 +02:00

Extract a few changes from the Mithril 2 upgrade ()

* Fix closing the composer with ESC key

Regression from .

* Remove obsolete method

Regression from .

* Mark method as protected

* Fade in posts in post stream using CSS

This also avoids a double-fade from the JavaScript code, which was
probably introduced in .

* Fix fadeIn for post stream items

Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com>
This commit is contained in:
Franz Liedke
2020-08-16 22:32:59 +02:00
committed by GitHub
parent 22bf03d872
commit c39b6a6d2f
5 changed files with 13 additions and 10 deletions
js/src
common
components
forum
less/forum

@ -105,8 +105,6 @@ export default class Modal extends Component {
this.$('form').find('input, select, textarea').first().focus().select();
}
onhide() {}
/**
* Hide the modal.
*/