moved "About" from options dialog to a separate dialog under global menu

This commit is contained in:
zadam
2019-03-24 23:01:33 +01:00
parent 9fc5d328b4
commit 6c7e2f0aa1
6 changed files with 85 additions and 55 deletions

View File

@@ -13,6 +13,7 @@ import searchNotesService from "./search_notes.js";
import attributesDialog from "../dialogs/attributes.js";
import helpDialog from "../dialogs/help.js";
import noteInfoDialog from "../dialogs/note_info.js";
import aboutDialog from "../dialogs/about.js";
import protectedSessionService from "./protected_session.js";
function registerEntrypoints() {
@@ -63,6 +64,8 @@ function registerEntrypoints() {
$("#show-note-info-button").click(noteInfoDialog.showDialog);
$("#show-about-dialog-button").click(aboutDialog.showDialog);
if (utils.isElectron()) {
$("#history-navigation").show();
$("#history-back-button").click(window.history.back);