mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style: fix linter errors
This commit is contained in:
@@ -267,7 +267,7 @@ export class Searchbar {
|
||||
* Align the input placeholder left on focus or if a value exists
|
||||
*/
|
||||
shouldAlignLeft() {
|
||||
return ( (this._value && this._value.toString().trim() != '') || this._sbHasFocus == true );
|
||||
return ( (this._value && this._value.toString().trim() !== '') || this._sbHasFocus === true );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user