[Client] Fix bug

This commit is contained in:
こぴなたみぽ 2017-06-14 09:22:03 +09:00 committed by GitHub
parent 969cfe8a08
commit 13ec5c2f18

View File

@ -63,7 +63,7 @@
document.title = title; document.title = title;
// TODO: escape html characters in file.name // TODO: escape html characters in file.name
ui.trigger('title', '<mk-file-type-icon class="icon"/>' + file.name); ui.trigger('title', '<mk-file-type-icon class="icon"></mk-file-type-icon>' + file.name);
riot.mount('mk-file-type-icon', { riot.mount('mk-file-type-icon', {
type: file.type type: file.type
}); });