mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
WebUI: simplify close window implementation
The caller site now take the responsibility to ensure the element is valid. PR #21892.
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
};
|
||||
|
||||
const closeSearchWindow = (id) => {
|
||||
window.parent.MochaUI.closeWindow(window.parent.$(id));
|
||||
window.parent.qBittorrent.Client.closeWindow(window.parent.$(id));
|
||||
};
|
||||
|
||||
const installPlugin = (path) => {
|
||||
|
||||
Reference in New Issue
Block a user