mirror of
https://github.com/AleziaKurdis/Overte-community-apps.git
synced 2025-04-05 12:31:09 +02:00
Fix undeclared variable
This commit is contained in:
parent
060ca36745
commit
cb7e2dae4a
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
var n = d.getTime();
|
||||
|
||||
if (typeof message === "string") {
|
||||
eventObj = JSON.parse(message);
|
||||
var eventObj = JSON.parse(message);
|
||||
if (eventObj.channel === channel) {
|
||||
if (eventObj.action === "UPDATE_FLASHLIGHT_ACTIVATION" && (n - timestamp) > INTERCALL_DELAY) {
|
||||
d = new Date();
|
||||
|
|
Loading…
Reference in a new issue