resize: Call resize_app after hiding recent topics first time.

See the code comment for why it is being called. We also remove the
unused `message_feed_shown` which was added to be used for this
purpose.

I decided to not call this with `requestAnimationFrame` since it
is changing position of elements in DOM and not letting browser
do a reflow after that can lead to wrong calculations later on.
This commit is contained in:
Aman Agrawal
2022-11-21 13:41:24 +00:00
committed by Tim Abbott
parent a0f42edaa2
commit fd422a4dd8
3 changed files with 12 additions and 29 deletions

View File

@@ -671,7 +671,6 @@ export function initialize_everything() {
// All overlays must be initialized before hashchange.js
hashchange.initialize();
resize.initialize();
unread_ui.initialize();
activity.initialize();