mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
moved dialog entrypoints into bootstrap, fixes
This commit is contained in:
@@ -4,7 +4,6 @@ import protectedSessionService from '../services/protected_session.js';
|
||||
import utils from '../services/utils.js';
|
||||
import server from '../services/server.js';
|
||||
|
||||
const $showDialogButton = $("#settings-button");
|
||||
const $dialog = $("#settings-dialog");
|
||||
const $tabs = $("#settings-tabs");
|
||||
|
||||
@@ -42,12 +41,9 @@ async function saveSettings(settingName, settingValue) {
|
||||
utils.showMessage("Settings change have been saved.");
|
||||
}
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
export default {
|
||||
showDialog,
|
||||
saveSettings,
|
||||
addModule
|
||||
saveSettings
|
||||
};
|
||||
|
||||
addModule((function() {
|
||||
|
||||
Reference in New Issue
Block a user