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

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Aug 6, 2014
1 parent 0cd5469 commit 50f7a44
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions paper-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,7 @@

// No caret animation if there is text in the input.
if (!this.inputValue) {
var width = this.$.inputCloneSpan.getBoundingClientRect().width;
if (width < right) {
this.$.caret.style.left = width + 'px';
this.$.caret.classList.remove('focused');
}
this.$.caret.classList.remove('focused');
}
},

Expand Down

0 comments on commit 50f7a44

Please sign in to comment.