Skip to content

Commit

Permalink
Merge pull request #91 from Armored-Dragon/fix/flyAvatar2-type-error
Browse files Browse the repository at this point in the history
Fix type error in flyAvatar 2
  • Loading branch information
daleglass authored Jul 6, 2024
2 parents f3dbaf6 + 75cb47f commit 30a79c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/flyAvatar/flyAvatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
messageObj = JSON.parse(message);
if (messageObj.channel === channel) {
if (messageObj.action === "FLY-AVATAR-URL") {
flyAvatarUrl = messageObj.url;
flyAvatarUrl = messageObj.url || [];
bookmarks = messageObj.bookmarks;
flyAvatarSwitch = messageObj.mainSwitch;
document.getElementById("mainSwitch").checked = flyAvatarSwitch;
Expand Down

0 comments on commit 30a79c2

Please sign in to comment.