Skip to content

Commit

Permalink
#555 Remove the icon on the cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
AgriyaDev5 committed Jun 2, 2021
1 parent a9dff71 commit 0b44fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/extensions/ext-imagelib/ext-imagelib.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export default {

const button = document.createElement('button');
// eslint-disable-next-line max-len
button.innerHTML = '<img class="svg_icon" src="./images/cancel.svg" alt="icon" width="16" height="16" />' + svgEditor.i18next.t('common.cancel');
button.innerHTML = svgEditor.i18next.t('common.cancel');
browser.appendChild(button);
button.addEventListener('click', function () {
$id("imgbrowse_holder").style.display = 'none';
Expand Down

0 comments on commit 0b44fdb

Please sign in to comment.