From 67ca4ccf20fd714848121192d5ae7c41f3763da4 Mon Sep 17 00:00:00 2001 From: jelveh Date: Fri, 29 Nov 2024 19:40:54 -0800 Subject: [PATCH] fix: add id to the setting menu item in user option menu --- src/gui/src/UI/UIDesktop.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/gui/src/UI/UIDesktop.js b/src/gui/src/UI/UIDesktop.js index 19f5b1cb..20846955 100644 --- a/src/gui/src/UI/UIDesktop.js +++ b/src/gui/src/UI/UIDesktop.js @@ -1509,6 +1509,16 @@ $(document).on('click', '.user-options-menu-btn', async function(e){ items: [ ...items, //-------------------------------------------------- + // Settings + //-------------------------------------------------- + { + html: i18n('settings'), + id: 'settings', + onClick: async function(){ + UIWindowSettings(); + } + }, + //-------------------------------------------------- // My Websites //-------------------------------------------------- { @@ -1519,15 +1529,6 @@ $(document).on('click', '.user-options-menu-btn', async function(e){ } }, //-------------------------------------------------- - // Settings - //-------------------------------------------------- - { - html: i18n('settings'), - onClick: async function(){ - UIWindowSettings(); - } - }, - //-------------------------------------------------- // Task Manager //-------------------------------------------------- {