diff --git a/app/renderer/components/browserActionButton.js b/app/renderer/components/browserActionButton.js index d1a856d1e65..acd42a0fe23 100644 --- a/app/renderer/components/browserActionButton.js +++ b/app/renderer/components/browserActionButton.js @@ -39,6 +39,7 @@ class BrowserActionButton extends ImmutableComponent { backgroundRepeat: 'no-repeat', backgroundPosition: 'center' }} + dataButtonValue={this.props.extensionId} onClick={this.onClicked.bind(this, this.props.extensionId, this.props.browserAction.get('title'))} /> } } diff --git a/js/components/button.js b/js/components/button.js index bd9c2e7974e..bce5a99d10f 100644 --- a/js/components/button.js +++ b/js/components/button.js @@ -12,6 +12,7 @@ class Button extends ImmutableComponent { return