gave previous status a default value

This commit is contained in:
Preston Bezos 2019-06-17 15:18:16 -07:00
parent 57fef21e30
commit 1801dc9d90

View file

@ -152,7 +152,7 @@ function simplifiedStatusIndicator(properties) {
// When avatar goes away, set status to busy
var previousStatus;
var previousStatus = "available";
function onWentAway() {
previousStatus = currentStatus;
if (currentStatus !== "busy") {