Fix regression that prevents downloading of font files in the debugger
This is a regression from PR 5366.
This commit is contained in:
parent
a737e5b706
commit
4ed3074011
@ -124,8 +124,8 @@ var FontInspector = (function FontInspectorClosure() {
|
|||||||
url = URL.createObjectURL(new Blob([fontObj.data], {
|
url = URL.createObjectURL(new Blob([fontObj.data], {
|
||||||
type: fontObj.mimeType
|
type: fontObj.mimeType
|
||||||
}));
|
}));
|
||||||
|
download.href = url;
|
||||||
}
|
}
|
||||||
download.href = url;
|
|
||||||
download.textContent = 'Download';
|
download.textContent = 'Download';
|
||||||
var logIt = document.createElement('a');
|
var logIt = document.createElement('a');
|
||||||
logIt.href = '';
|
logIt.href = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user