diff --git a/src/share-button.js b/src/share-button.js index 3858780..ccf62b6 100644 --- a/src/share-button.js +++ b/src/share-button.js @@ -632,7 +632,14 @@ class ShareButton extends ShareUtils { for (let network of networks) { networkList += `
  • `; } - instance.innerHTML = `${this.config.ui.buttonText}
    `; + + // Configure buttonText as false to leave button text alone + var buttonText = this.config.ui.buttonText; + if (buttonText == false) { + buttonText = instance.innerHTML; + } + + instance.innerHTML = `${buttonText}
    `; } /**