Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
willshowell committed May 24, 2017
1 parent 59847d9 commit 5a270f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/input/input-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ export class MdInputContainer implements AfterViewInit, AfterContentInit, AfterC
/** Whether the input container is in an error state. */
_isErrorState(): boolean {
const control = this._mdInputChild._ngControl;
return this.errorStateMatcher ? this.errorStateMatcher(control) : this._defaultErrorStateMatcher(control);
return this.errorStateMatcher
? this.errorStateMatcher(control)
: this._defaultErrorStateMatcher(control);
}

/** Determines whether to display hints or errors. */
Expand Down

0 comments on commit 5a270f3

Please sign in to comment.