Skip to content

Commit

Permalink
fix: wrong variable name in trigger JS
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Morse committed Jul 12, 2019
1 parent 845a472 commit bad2ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/bolt-trigger/src/trigger.js
Expand Up @@ -73,7 +73,7 @@ class BoltTrigger extends BoltAction {
const url = this.props.url || this.originalUrl;

if (disabled) {
this.originalUrl = buttonElement.getAttribute('href');
this.originalUrl = triggerElement.getAttribute('href');
triggerElement.setAttribute('aria-disabled', 'true');
triggerElement.removeAttribute('href');
} else {
Expand Down

0 comments on commit bad2ccc

Please sign in to comment.