Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 25, 2016
1 parent 12e0e42 commit 3d948a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Picker {
this.select.selectedIndex = [].indexOf.call(item.parentNode.children, item);
if (item.dataset.value) {
this.label.dataset.value = item.dataset.value;
} else if (this.label.dataset.label) {
} else if (this.label.dataset.value) {
delete this.label.dataset.value;
}
if (item.dataset.label) {
Expand Down

0 comments on commit 3d948a7

Please sign in to comment.