Fixed missed variables.
This commit is contained in:
1 parent
656bd5439e
commit
d4a044b39e
1 file changed
+2
-2
+2
-2
@@ -888,7 +888,7 @@ export class FrigateCard extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected _resetInteractionTimer(): void {
|
protected _resetInteractionTimer(): void {
|
||||||
if (this._getConfig().view.timeout) {
|
if (this._getConfig().view.timeout_seconds) {
|
||||||
if (this._interactionTimerID) {
|
if (this._interactionTimerID) {
|
||||||
window.clearTimeout(this._interactionTimerID);
|
window.clearTimeout(this._interactionTimerID);
|
||||||
}
|
}
|
||||||
@@ -899,7 +899,7 @@ export class FrigateCard extends LitElement {
|
|||||||
// If force is enabled, the timer just resets and starts over.
|
// If force is enabled, the timer just resets and starts over.
|
||||||
this._resetInteractionTimer();
|
this._resetInteractionTimer();
|
||||||
}
|
}
|
||||||
}, this._getConfig().view.timeout * 1000);
|
}, this._getConfig().view.timeout_seconds * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user