fix undefined reference

pull/1/head
ansuz 8 years ago
parent c3d1554e8c
commit 6a00d11a15

@ -67,7 +67,7 @@ define([
$mt.attr('data-type', type); $mt.attr('data-type', type);
window.onMediaMetadata = function (metadata) { window.onMediaMetadata = function (metadata) {
if (title !== defaultTitle) { return; } if (!metadata || metadata.name !== defaultName) { return; }
var title = document.title = metadata.name; var title = document.title = metadata.name;
updateTitle(title || defaultName); updateTitle(title || defaultName);
}; };

Loading…
Cancel
Save