more cleanup

This commit is contained in:
Penar Musaraj 2024-12-17 15:36:20 -05:00
parent 20b3e2ef58
commit 797bf3c471
2 changed files with 0 additions and 4 deletions

View File

@ -191,8 +191,6 @@ export default class Composer extends RestModel {
} }
@service dialog; @service dialog;
@service capabilities;
@service site;
@tracked topic; @tracked topic;
@tracked post; @tracked post;

View File

@ -15,7 +15,6 @@ import {
cannotPostAgain, cannotPostAgain,
durationTextFromSeconds, durationTextFromSeconds,
} from "discourse/helpers/slow-mode"; } from "discourse/helpers/slow-mode";
import { clearAllBodyScrollLocks } from "discourse/lib/body-scroll-lock";
import { customPopupMenuOptions } from "discourse/lib/composer/custom-popup-menu-options"; import { customPopupMenuOptions } from "discourse/lib/composer/custom-popup-menu-options";
import prepareFormTemplateData, { import prepareFormTemplateData, {
getFormTemplateObject, getFormTemplateObject,
@ -1849,7 +1848,6 @@ export default class ComposerService extends Service {
const elem = document.documentElement; const elem = document.documentElement;
elem.classList.remove("fullscreen-composer"); elem.classList.remove("fullscreen-composer");
elem.classList.remove("composer-open"); elem.classList.remove("composer-open");
clearAllBodyScrollLocks();
document.activeElement?.blur(); document.activeElement?.blur();
document.documentElement.style.removeProperty("--composer-height"); document.documentElement.style.removeProperty("--composer-height");