WebUI: add missing debounce handler

This commit is contained in:
Thomas Piccirello 2025-06-07 08:16:08 -07:00
commit 32f87b2e10
No known key found for this signature in database

View file

@ -277,9 +277,9 @@ const initializeWindows = () => {
paddingHorizontal: 0, paddingHorizontal: 0,
width: loadWindowWidth(id, 900), width: loadWindowWidth(id, 900),
height: loadWindowHeight(id, 400), height: loadWindowHeight(id, 400),
onResize: () => { onResize: window.qBittorrent.Misc.createDebounceHandler(500, (e) => {
saveWindowSize(id); saveWindowSize(id);
} })
}); });
}); });