mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 23:36:36 +00:00
Fix exception when no password is configured (#315)
This commit is contained in:
parent
a3d4b575d4
commit
26218f64af
@ -131,7 +131,9 @@ Polymer({
|
|||||||
isValidatingChanged: function (newVal) {
|
isValidatingChanged: function (newVal) {
|
||||||
if (!newVal) {
|
if (!newVal) {
|
||||||
this.async(function () {
|
this.async(function () {
|
||||||
this.$.passwordInput.inputElement.inputElement.focus();
|
if (this.$.passwordInput.inputElement.inputElement) {
|
||||||
|
this.$.passwordInput.inputElement.inputElement.focus();
|
||||||
|
}
|
||||||
}.bind(this), 10);
|
}.bind(this), 10);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user