From 7e6571210364e50034d8a3d2faf0795db8003e13 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Tue, 2 May 2023 15:12:04 +0300 Subject: [PATCH] fix css in alert window --- resources/wde.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/wde.js b/resources/wde.js index 19535bf..6a39954 100644 --- a/resources/wde.js +++ b/resources/wde.js @@ -196,7 +196,7 @@ class WebDesktopEnvironment{ let newWindow = document.createElement("div") newWindow.setAttribute("class", "WindowFrameless") newWindow.setAttribute("windowId", "SuperUniqUUID") //TODO: - newWindow.style.cssText = "postiton:absolute;width:450px;height:116px; margin-left: 225px; margin-top:58px; left: 50%;top: 50%;background-color:#FFFFFF;border: 1px solid #000000;box-shadow: 2px 2px 0px #000000;" + newWindow.style.cssText = "position:absolute;width:450px;height:116px; margin-left: 225px; margin-top:58px; left: 50%;top: 50%;background-color:#FFFFFF;border: 1px solid #000000;box-shadow: 2px 2px 0px #000000;" let alertImage = document.createElement("img") alertImage.setAttribute("src", "http://localhost:8080/res/sys/wde/icons/ohno.png")