more cleanup
This commit is contained in:
parent
20b3e2ef58
commit
797bf3c471
|
@ -191,8 +191,6 @@ export default class Composer extends RestModel {
|
|||
}
|
||||
|
||||
@service dialog;
|
||||
@service capabilities;
|
||||
@service site;
|
||||
|
||||
@tracked topic;
|
||||
@tracked post;
|
||||
|
|
|
@ -15,7 +15,6 @@ import {
|
|||
cannotPostAgain,
|
||||
durationTextFromSeconds,
|
||||
} from "discourse/helpers/slow-mode";
|
||||
import { clearAllBodyScrollLocks } from "discourse/lib/body-scroll-lock";
|
||||
import { customPopupMenuOptions } from "discourse/lib/composer/custom-popup-menu-options";
|
||||
import prepareFormTemplateData, {
|
||||
getFormTemplateObject,
|
||||
|
@ -1849,7 +1848,6 @@ export default class ComposerService extends Service {
|
|||
const elem = document.documentElement;
|
||||
elem.classList.remove("fullscreen-composer");
|
||||
elem.classList.remove("composer-open");
|
||||
clearAllBodyScrollLocks();
|
||||
|
||||
document.activeElement?.blur();
|
||||
document.documentElement.style.removeProperty("--composer-height");
|
||||
|
|
Loading…
Reference in New Issue