Browse Source

Fix regression that prevents downloading of font files in the debugger

This is a regression from PR 5366.
Jonas Jenwald 11 years ago
parent
commit
4ed3074011
  1. 2
      web/debugger.js

2
web/debugger.js

@ -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…
Cancel
Save