help buttons and existing custom HTML attribute refactoring to data-*

This commit is contained in:
azivner
2018-08-15 10:14:14 +02:00
parent f440493e45
commit 510704a074
9 changed files with 74 additions and 30 deletions

View File

@@ -30,9 +30,9 @@ async function showDialog() {
const revLink = $("<a>", {
href: 'javascript:',
text: 'rev'
}).attr('action', 'note-revision')
.attr('note-path', change.noteId)
.attr('note-revision-id', change.noteRevisionId);
}).attr('data-action', 'note-revision')
.attr('data-note-path', change.noteId)
.attr('data-note-revision-id', change.noteRevisionId);
let noteLink;