Skip to content

Commit

Permalink
Update CodeEditorToolbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam7-1 committed Apr 26, 2024
1 parent 4fa2c16 commit f2b3672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CodeEditor/CodeEditorToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class CodeEditorToolbar extends React.PureComponent {
});
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

0 comments on commit f2b3672

Please sign in to comment.