another one!

This commit is contained in:
Nariman Jelveh 2024-06-24 21:05:38 -07:00
parent 854bb38026
commit b63e11a898
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export default {
$('body').removeClass('menubar-style-desktop');
$('.window-menubar-global').each((_, el) => {
let win_id = $(el).attr('data-window-id');
$(el).insertAfter('.window[data-id="'+win_id+'"] .window-head');
$(el).insertAfter(H`.window[data-id="${win_id}"] .window-head`);
// remove window-menubar-global
$(el).removeClass('window-menubar-global');
// show

View File

@ -86,7 +86,7 @@ async function UIWindowLogin(options){
$("#version-placeholder").html(H`Version: ${res.version} • Server: ${res.location} • Deployed: ${deployed_date}`);
})
.catch(() => {
$("#version-placeholder").html("Failed to load version or server information.");
$("#version-placeholder").html(`Failed to load version or server information.`);
});
const el_window = await UIWindow({