Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 5bd5ff1

Browse files
author
Pat Patterson
committed
Merge pull request #61 from hdramos/master
Update forcetk.js to support Windows8 in phonegap
2 parents 4ab6f9c + e530106 commit 5bd5ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forcetk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if (forcetk.Client === undefined) {
5454
this.clientId = clientId;
5555
this.loginUrl = loginUrl || 'https://login.salesforce.com/';
5656
if (typeof proxyUrl === 'undefined' || proxyUrl === null) {
57-
if (location.protocol === 'file:') {
57+
if (location.protocol === 'file:' || location.protocol === 'ms-appx:') {
5858
// In PhoneGap
5959
this.proxyUrl = null;
6060
} else {

0 commit comments

Comments
 (0)