mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
options fixes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user