[Client] Fix bug
This commit is contained in:
parent
969cfe8a08
commit
13ec5c2f18
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue