Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/BlockEditor/BlockEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ export class BlockEditor extends React.PureComponent {
const textAsBlob = new Blob([this.state.xml], { type: 'text/plain' });
const downloadLink = document.createElement('a');
downloadLink.download = `${this.props.project.name}-${this.props.project.id}.xml`;
downloadLink.innerHTML = 'Download File';
downloadLink.innerText = 'Download File';
if (window.webkitURL != null) {
// Chrome allows the link to be clicked without actually adding it to the DOM.
downloadLink.href = window.webkitURL.createObjectURL(textAsBlob);
Expand Down