Skip to content

Commit

Permalink
use cordova should be a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
wmathurin committed Nov 17, 2016
1 parent 6804805 commit 49b8d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/force.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var force = (function () {
useProxy = (window.cordova || window.SfdcApp || window.sforce) ? false : true,

// Where or not to use cordova for oauth and network calls
useCordova = window.cordova,
useCordova = window.cordova ? true : false,

// Testing only
requestHandler;
Expand Down

0 comments on commit 49b8d60

Please sign in to comment.