feature: client: listeners: simplify

This commit is contained in:
coderiaser 2026-01-25 22:44:42 +02:00
parent 3c0c7c3044
commit 091f901789

View file

@ -19,15 +19,13 @@ const NBSP_REG = RegExp(String.fromCharCode(160), 'g');
const SPACE = ' ';
module.exports.init = async () => {
await Promise.all([
contextMenu(),
dragndrop(),
unload(),
pop(),
resize(),
header(),
config(),
]);
contextMenu();
dragndrop();
unload();
pop();
resize();
header();
await config();
};
const unselect = (event) => {
@ -502,3 +500,4 @@ function resize() {
DOM.changePanel();
});
}