the in-game webview on macos doesn't support any of the window open APIs that the browser provides.<a> elements work though, so this PR replaces the social buttons with <a> elements.
normally i would just replace these for all platforms since <a> elements are usually better for accessibility, but the only way to open a pop up window is with js and i think that's the expected behavior for social buttons. doesn't matter for the in-game experience given that those all open in the browser outside the game anyhow.
fixes https://github.com/microsoft/pxt-minecraft/issues/2668
the in-game webview on macos doesn't support any of the window open APIs that the browser provides.
<a>
elements work though, so this PR replaces the social buttons with<a>
elements.normally i would just replace these for all platforms since
<a>
elements are usually better for accessibility, but the only way to open a pop up window is with js and i think that's the expected behavior for social buttons. doesn't matter for the in-game experience given that those all open in the browser outside the game anyhow.