Skip to content

Commit

Permalink
Update base.js
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 20, 2024
1 parent 52ba1b8 commit 2a5cccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
let tag = el.innerText;
templateText = ( customText ) ? customText : templateText;
if ( 'true' === pressed ) {
let newText = templateText.replace( tag, '' ).trim();
let newText = templateText.replace( tag, '' ).trim();
templateText = newText;
custom.value = newText;
el.setAttribute( 'aria-pressed', 'false' );
Expand Down

0 comments on commit 2a5cccc

Please sign in to comment.