Skip to content

Commit

Permalink
Merge pull request #53 from PolymerElements/use-readonly-focused-setter
Browse files Browse the repository at this point in the history
Use private setter for read-only `focused` property.
  • Loading branch information
bicknellr committed Apr 29, 2016
2 parents 40a7f69 + d75a13e commit 487688d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iron-control-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
this.style.pointerEvents = disabled ? 'none' : '';
if (disabled) {
this._oldTabIndex = this.tabIndex;
this.focused = false;
this._setFocused(false);
this.tabIndex = -1;
this.blur();
} else if (this._oldTabIndex !== undefined) {
Expand Down

0 comments on commit 487688d

Please sign in to comment.