chore(client/ts): port services/glob

This commit is contained in:
Elian Doran
2024-12-21 17:47:09 +02:00
parent 6e8fa6d757
commit 14dd3a0021
3 changed files with 10 additions and 6 deletions

View File

@@ -350,7 +350,7 @@ function openHelp($button: JQuery<HTMLElement>) {
}
}
function initHelpButtons($el: JQuery<HTMLElement>) {
function initHelpButtons($el: JQuery<HTMLElement> | JQuery<Window>) {
// for some reason, the .on(event, listener, handler) does not work here (e.g. Options -> Sync -> Help button)
// so we do it manually
$el.on("click", e => {