[Client] Fix bug

This commit is contained in:
こぴなたみぽ 2017-06-14 09:22:03 +09:00 committed by GitHub
parent 027595057a
commit 72d0ee0e97

View File

@ -63,7 +63,7 @@
document.title = title;
// 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', {
type: file.type
});