options fixes

This commit is contained in:
zadam
2022-12-08 15:18:41 +01:00
parent 95f4195ca7
commit 44997f5cd1
15 changed files with 180 additions and 149 deletions

View File

@@ -320,7 +320,13 @@ function openHelp(e) {
}
function initHelpButtons($el) {
$el.on("click", "*[data-help-page]", e => openHelp(e));
// 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 => {
if ($(e.target).attr("data-help-page")) {
openHelp(e)
}
});
}
function filterAttributeName(name) {