mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
reset radio to "html" type link when displaying dialog again
This commit is contained in:
parent
e007ec5e21
commit
4a3169dfdd
@ -12,7 +12,9 @@ const addLink = (function() {
|
|||||||
function showDialog() {
|
function showDialog() {
|
||||||
glob.activeDialog = dialogEl;
|
glob.activeDialog = dialogEl;
|
||||||
|
|
||||||
$('input:radio[name="add-link-type"]').filter('[value="html"]').attr('checked', true);
|
$('input[name="add-link-type"]').each(function () {
|
||||||
|
$(this).prop('checked', $(this).val() === "html");
|
||||||
|
});
|
||||||
|
|
||||||
linkTitleEl.val('');
|
linkTitleEl.val('');
|
||||||
clonePrefixEl.val('');
|
clonePrefixEl.val('');
|
||||||
|
@ -1 +1 @@
|
|||||||
module.exports = { build_date:"2017-12-20T23:16:51-05:00", build_revision: "57c4465a37f7b2d67dde4dca0ba42c938c09bbbc" };
|
module.exports = { build_date:"2017-12-21T22:21:42-05:00", build_revision: "e007ec5e2173b5086a998363401fae3933091675" };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user