Merge pull request #12166 from zfox23/fixSnapshotSocialSharing

Fix social media sharing buttons on Snapshot app
This commit is contained in:
Zach Fox 2018-01-12 15:52:56 -08:00 committed by GitHub
commit bd3474de68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,9 @@ Item {
onNewViewRequestedCallback: {
// desktop is not defined for web-entities or tablet
if (typeof desktop !== "undefined") {
desktop.openBrowserWindow(request, profile);
desktop.openBrowserWindow(request, webViewCoreProfile);
} else {
tabletRoot.openBrowserWindow(request, profile);
tabletRoot.openBrowserWindow(request, webViewCoreProfile);
}
}