Skip to content

Commit

Permalink
refactor(*): combine clauses to avoid code duplication #3599
Browse files Browse the repository at this point in the history
  • Loading branch information
SAndreeva committed Jan 16, 2019
1 parent 0095e8b commit 1d8feac
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
public onInput(eventArgs) {
// The 'iskeyPressed' flag is needed for a case in IE, because the input event is fired on focus and for some reason,
// when you have a japanese character as a placeholder, on init the value here is empty string .
if (isEdge()) {
this.value = eventArgs.target.value;
} else if (this.isKeyPressed) {
if (isEdge() || this.isKeyPressed) {
this.value = eventArgs.target.value;
}
}
Expand Down

0 comments on commit 1d8feac

Please sign in to comment.