asdasd
This commit is contained in:
@@ -1736,6 +1736,18 @@ if (payloadNode) {
|
||||
setAccountMenuOpen(accountMenu.hidden);
|
||||
});
|
||||
|
||||
document.querySelectorAll('.tray-pill[data-tray-app-id]').forEach((button) => {
|
||||
button.addEventListener('click', () => {
|
||||
const appId = button.getAttribute('data-tray-app-id') || '';
|
||||
const app = findAppById(appId);
|
||||
if (app) {
|
||||
openApp(app);
|
||||
setStartMenuOpen(false);
|
||||
setAccountMenuOpen(false);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
debugToggleNode?.addEventListener('click', () => {
|
||||
toggleDebugWindow();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user