Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
call super in inputFocusAction
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Jul 17, 2014
1 parent 432be21 commit 90de2d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions paper-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
this.label = this.placeholder;
},

inputFocusAction: function(e) {
inputFocusAction: function() {
if (!this.pressed) {
if (this.floatingLabel) {
this.$.floatedLabel.classList.remove('hidden');
Expand All @@ -243,7 +243,8 @@
this.$.label.classList.add('hidden');
this.$.underlineHighlight.classList.add('focused');
this.$.caret.classList.add('focused');
this.$.input.focus();

this.super(arguments);
}
this.focused = true;
},
Expand Down

0 comments on commit 90de2d4

Please sign in to comment.