mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:28:09 +02:00
gave previous status a default value
This commit is contained in:
parent
57fef21e30
commit
1801dc9d90
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function simplifiedStatusIndicator(properties) {
|
||||||
|
|
||||||
|
|
||||||
// When avatar goes away, set status to busy
|
// When avatar goes away, set status to busy
|
||||||
var previousStatus;
|
var previousStatus = "available";
|
||||||
function onWentAway() {
|
function onWentAway() {
|
||||||
previousStatus = currentStatus;
|
previousStatus = currentStatus;
|
||||||
if (currentStatus !== "busy") {
|
if (currentStatus !== "busy") {
|
||||||
|
|
Loading…
Reference in a new issue