fiixed: tag case on ctrl+click
This commit is contained in:
parent
33e8c36357
commit
65d2007499
5
main.js
5
main.js
|
@ -434,7 +434,7 @@ function clickeditor()
|
||||||
else if (tag)
|
else if (tag)
|
||||||
{
|
{
|
||||||
tagslist();
|
tagslist();
|
||||||
searchinlist(tags[tag])
|
searchinlist(tags[tag.toLowerCase()])
|
||||||
.then(loadnote);
|
.then(loadnote);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -616,6 +616,7 @@ function save()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
currentnote.pos = md.selectionStart;
|
||||||
currentnote.content = content;
|
currentnote.content = content;
|
||||||
window.localStorage.setItem(currentvault, JSON.stringify(localdata));
|
window.localStorage.setItem(currentvault, JSON.stringify(localdata));
|
||||||
|
|
||||||
|
@ -1732,7 +1733,7 @@ function bindfile(note)
|
||||||
|
|
||||||
resetfolds();
|
resetfolds();
|
||||||
resize();
|
resize();
|
||||||
setpos(0);
|
setpos(note.pos || 0);
|
||||||
|
|
||||||
// to improve...
|
// to improve...
|
||||||
if (!issplit())
|
if (!issplit())
|
||||||
|
|
Loading…
Reference in New Issue