mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
bug fixes
This commit is contained in:
parent
a36022d8c1
commit
e9bfe4521e
1205
package-lock.json
generated
1205
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -80,9 +80,9 @@
|
|||||||
"electron-builder": "22.7.0",
|
"electron-builder": "22.7.0",
|
||||||
"electron-packager": "15.0.0",
|
"electron-packager": "15.0.0",
|
||||||
"electron-rebuild": "1.11.0",
|
"electron-rebuild": "1.11.0",
|
||||||
"esm": "^3.2.25",
|
"esm": "3.2.25",
|
||||||
"jasmine": "^3.5.0",
|
"jasmine": "3.6.0",
|
||||||
"jsdoc": "3.6.4",
|
"jsdoc": "3.6.5",
|
||||||
"lorem-ipsum": "2.0.3",
|
"lorem-ipsum": "2.0.3",
|
||||||
"webpack": "5.0.0-beta.22",
|
"webpack": "5.0.0-beta.22",
|
||||||
"webpack-cli": "4.0.0-beta.8"
|
"webpack-cli": "4.0.0-beta.8"
|
||||||
|
@ -158,10 +158,9 @@ $(document).on('mousedown', '.note-detail-text a:not(.reference-link)', function
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('mousedown', 'a.reference-link', goToLink);
|
||||||
$(document).on('mousedown', '.note-detail-book a', goToLink);
|
$(document).on('mousedown', '.note-detail-book a', goToLink);
|
||||||
$(document).on('mousedown', '.note-detail-render a', goToLink);
|
$(document).on('mousedown', '.note-detail-render a', goToLink);
|
||||||
$(document).on('mousedown', '.note-detail-text a.reference-link', goToLink);
|
|
||||||
$(document).on('mousedown', '.note-detail-readonly-text a.reference-link', goToLink);
|
|
||||||
$(document).on('mousedown', '.note-detail-readonly-text a', goToLink);
|
$(document).on('mousedown', '.note-detail-readonly-text a', goToLink);
|
||||||
$(document).on('mousedown', 'a.ck-link-actions__preview', goToLink);
|
$(document).on('mousedown', 'a.ck-link-actions__preview', goToLink);
|
||||||
$(document).on('click', 'section.include-note a', goToLink);
|
$(document).on('click', 'section.include-note a', goToLink);
|
||||||
@ -173,6 +172,7 @@ $(document).on('click', 'a.ck-link-actions__preview', e => {
|
|||||||
$(document).on('contextmenu', 'a.ck-link-actions__preview', linkContextMenu);
|
$(document).on('contextmenu', 'a.ck-link-actions__preview', linkContextMenu);
|
||||||
$(document).on('contextmenu', '.note-detail-text a', linkContextMenu);
|
$(document).on('contextmenu', '.note-detail-text a', linkContextMenu);
|
||||||
$(document).on('contextmenu', '.note-detail-readonly-text a', linkContextMenu);
|
$(document).on('contextmenu', '.note-detail-readonly-text a', linkContextMenu);
|
||||||
|
$(document).on('contextmenu', 'a.reference-link', linkContextMenu);
|
||||||
$(document).on('contextmenu', "a[data-action='note']", linkContextMenu);
|
$(document).on('contextmenu', "a[data-action='note']", linkContextMenu);
|
||||||
$(document).on('contextmenu', ".note-detail-render a", linkContextMenu);
|
$(document).on('contextmenu', ".note-detail-render a", linkContextMenu);
|
||||||
$(document).on('contextmenu', ".note-paths-widget a", linkContextMenu);
|
$(document).on('contextmenu', ".note-paths-widget a", linkContextMenu);
|
||||||
|
@ -39,6 +39,10 @@ function getOptionBool(name) {
|
|||||||
function setOption(name, value) {
|
function setOption(name, value) {
|
||||||
const option = require('./repository').getOption(name);
|
const option = require('./repository').getOption(name);
|
||||||
|
|
||||||
|
if (value === true || value === false) {
|
||||||
|
value = value.toString();
|
||||||
|
}
|
||||||
|
|
||||||
if (option) {
|
if (option) {
|
||||||
option.value = value;
|
option.value = value;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user