Skip to content

Commit

Permalink
Change id name to avoid styling conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudia Minardi committed May 12, 2016
1 parent 0d5a15f commit 2e56613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion paper-toggle-subheader.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</style>

<div class="flex"><content></content></div>
<paper-icon-button on-tap="_toggle" icon="[[_icon]]" hidden="[[!_icon]]"></paper-icon-button>
<paper-icon-button id="togglebutton" on-tap="_toggle" icon="[[_icon]]" hidden="[[!_icon]]"></paper-icon-button>
</template>

</dom-module>
Expand Down
4 changes: 2 additions & 2 deletions test/paper-toggle-subheader.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
test('Tap toggles the active property', function() {
element.active = false;

MockInteractions.tap(element.$.button);
MockInteractions.tap(element.$.togglebutton);
expect(element.active).to.be.eql(true);

MockInteractions.tap(element.$.button);
MockInteractions.tap(element.$.togglebutton);
expect(element.active).to.be.eql(false);
});
});
Expand Down

0 comments on commit 2e56613

Please sign in to comment.