diff --git a/src/js/base.js b/src/js/base.js index 2664f3e..8b28d9d 100644 --- a/src/js/base.js +++ b/src/js/base.js @@ -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' );