mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:09:00 +08:00
FIX: apply clear-transition class to correct wrapper for chat drawer (#21129)
This commit is contained in:
parent
437b73e322
commit
0f7eeb5500
|
@ -122,7 +122,9 @@ export default Component.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
document.querySelector(".chat-drawer").classList.add("clear-transitions");
|
||||
document
|
||||
.querySelector(".chat-drawer-outlet-container")
|
||||
.classList.add("clear-transitions");
|
||||
},
|
||||
|
||||
_clearDynamicCheckSize() {
|
||||
|
@ -131,7 +133,7 @@ export default Component.extend({
|
|||
}
|
||||
|
||||
document
|
||||
.querySelector(".chat-drawer")
|
||||
.querySelector(".chat-drawer-outlet-container")
|
||||
.classList.remove("clear-transitions");
|
||||
this._checkSize();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user