diff --git a/src/public/app/services/glob.js b/src/public/app/services/glob.js index ee7eb2c7c..9978fd894 100644 --- a/src/public/app/services/glob.js +++ b/src/public/app/services/glob.js @@ -78,10 +78,8 @@ function setupGlobs() { const wikiBaseUrl = "https://github.com/zadam/trilium/wiki/"; - $(document).on("click", "button[data-help-page]", e => { - const $button = $(e.target); - - window.open(wikiBaseUrl + $button.attr("data-help-page"), '_blank'); + $(document).on("click", "*[data-help-page]", e => { + window.open(wikiBaseUrl + $(e.target).attr("data-help-page"), '_blank'); }); $("body").on("click", "a.external", function () { @@ -91,4 +89,4 @@ function setupGlobs() { export default { setupGlobs -} \ No newline at end of file +} diff --git a/src/public/app/widgets/type_widgets/read_only_code.js b/src/public/app/widgets/type_widgets/read_only_code.js index 8381baab1..e8cf37a01 100644 --- a/src/public/app/widgets/type_widgets/read_only_code.js +++ b/src/public/app/widgets/type_widgets/read_only_code.js @@ -14,7 +14,7 @@ const TPL = `
- Read only code view is shown. Click here to edit the note. + Read only code view is shown. Click here to edit the note.

@@ -41,4 +41,4 @@ export default class ReadOnlyCodeTypeWidget extends TypeWidget {
 
         this.$content.text(noteComplement.content);
     }
-}
\ No newline at end of file
+}
diff --git a/src/public/app/widgets/type_widgets/read_only_text.js b/src/public/app/widgets/type_widgets/read_only_text.js
index 9e7641414..bb645dcde 100644
--- a/src/public/app/widgets/type_widgets/read_only_text.js
+++ b/src/public/app/widgets/type_widgets/read_only_text.js
@@ -29,7 +29,7 @@ const TPL = `
     
 
     
- Read only text view is shown. Click here to edit the note. + Read only text view is shown. Click here to edit the note.