Created
March 10, 2019 21:56
-
-
Save kwindla/099db40d7222ff5d36f5a70b1f0ec361 to your computer and use it in GitHub Desktop.
if our page's url includes a hash fragment, treat that as a call url to join on page load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body onload="maybeJoinCall()"> | |
function maybeJoinCall() { | |
if (window.location.hash) { | |
startCall(window.location.hash.substring(1)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment