Skip to content

Commit

Permalink
use polymer dom in pulldown button
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lasky committed Aug 15, 2016
1 parent 2b61bd8 commit 0e069a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strand-pulldown-button/strand-pulldown-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
if(typeof newIndex === 'number') {
var newSelected = this.items[newIndex],
oldSelected = this.items[oldIndex],
value = newSelected.value ? newSelected.value.toString() : newSelected.textContent.trim();
value = newSelected.value ? newSelected.value.toString() : Polymer.dom(newSelected).textContent.trim();

this.fire('selected', {
item: newSelected,
Expand Down

0 comments on commit 0e069a7

Please sign in to comment.