Fix regression that prevents downloading of font files in the debugger

This is a regression from PR 5366.
This commit is contained in:
Jonas Jenwald 2014-10-28 19:56:55 +01:00
parent a737e5b706
commit 4ed3074011

View File

@ -124,8 +124,8 @@ var FontInspector = (function FontInspectorClosure() {
url = URL.createObjectURL(new Blob([fontObj.data], {
type: fontObj.mimeType
}));
download.href = url;
}
download.href = url;
download.textContent = 'Download';
var logIt = document.createElement('a');
logIt.href = '';