diff options
author | Maxim Devaev <[email protected]> | 2024-09-23 02:32:38 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-09-23 02:32:38 +0300 |
commit | 8209ee2eb0bd411c74d7d7dbf7b1b79e46dd79c0 (patch) | |
tree | 44fbe8a26d88840b87d6f4ecfcb3d54544f31952 /web/share/js/index | |
parent | 5ed368769c889628ebae896556e5c6401cbafdaf (diff) |
improved wm dialogs
Diffstat (limited to 'web/share/js/index')
-rw-r--r-- | web/share/js/index/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js index 38c848c7..19cba440 100644 --- a/web/share/js/index/main.js +++ b/web/share/js/index/main.js @@ -57,7 +57,7 @@ function __loadKvmdInfo() { let apps = []; if (info.extras === null) { - wm.error("Not all applications in the menu can be displayed<br>due an error. See KVMD logs for details."); + wm.error("Not all applications in the menu can be displayed due an error.<br>See KVMD logs for details."); } else { apps = Object.values(info.extras).sort(function(a, b) { if (a.place < b.place) { @@ -113,7 +113,7 @@ function __makeApp(id, path, icon, name) { <a href="${path}"> <div> <img class="svg-gray" src="${icon}"> - ${name} + ${tools.escape(name)} </div> </a> </div> @@ -125,7 +125,7 @@ function __logout() { if (http.status === 200 || http.status === 401 || http.status === 403) { document.location.href = "/login"; } else { - wm.error("Logout error:<br>", http.responseText); + wm.error("Logout error", http.responseText); } }); } |