mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
correct tabindex so that tab from note title jumps to note content
This commit is contained in:
@@ -76,6 +76,9 @@ $(document).ready(function() {
|
||||
onChange: noteChanged
|
||||
}
|
||||
});
|
||||
|
||||
// so that tab jumps from note title (which has tabindex 1)
|
||||
$(".note-editable").attr("tabindex", 2);
|
||||
});
|
||||
|
||||
var globalNote;
|
||||
|
||||
@@ -7,7 +7,7 @@ function notecase2html(note) {
|
||||
|
||||
let all = note.formatting.concat(note.links).concat(note.images);
|
||||
all.sort(function compare(a, b) {
|
||||
return a.note_offset - b.note_offset;
|
||||
return a.note_offset - b.note_offset;
|
||||
});
|
||||
|
||||
let offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user