From 031759cebdaea506088e59991720537ba73c07f1 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 25 Apr 2021 15:39:09 +0200 Subject: [PATCH] Pushing the old modals behind the new modals --- shared/js/ui/elements/Modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/js/ui/elements/Modal.ts b/shared/js/ui/elements/Modal.ts index 4c04cb01..96401b69 100644 --- a/shared/js/ui/elements/Modal.ts +++ b/shared/js/ui/elements/Modal.ts @@ -258,7 +258,7 @@ export class Modal { _global_modal_last = this.htmlTag[0]; this.shown = true; - this.htmlTag.appendTo($("body")); + this.htmlTag.prependTo($("body")); _global_modal_count++; this.htmlTag.show();