You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(push||!nav.sendBeacon){// sendData will assign payload to requestsendData(append,undefinedVar,trueVar);}else{nav.sendBeacon(fullApiUrl+"/append",stringify(append));}
The error happens when nav.sendBeacon is invoked in the else block.
You might want to check if nav or sendBeacon is being called out of context or if there’s an issue with the scope.
The text was updated successfully, but these errors were encountered:
sendOnLeave throws a TypeError: Illegal invocation on line 554:
This is the relevant part of the code:
The error happens when
nav.sendBeacon
is invoked in theelse
block.You might want to check if
nav
orsendBeacon
is being called out of context or if there’s an issue with the scope.The text was updated successfully, but these errors were encountered: