Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/js/openfb-angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ angular.module('openfb', [])
function login(fbScope) {

if (!fbAppId) {
return error({error: 'Facebook App Id not set.'});
return Error({error: 'Facebook App Id not set.'});
}

var loginWindow;
Expand Down Expand Up @@ -84,7 +84,7 @@ angular.module('openfb', [])
}

loginWindow = window.open(FB_LOGIN_URL + '?client_id=' + fbAppId + '&redirect_uri=' + oauthRedirectURL +
'&response_type=token&display=popup&scope=' + fbScope, '_blank', 'location=no');
'&response_type=token&scope=' + fbScope, '_blank', 'location=no');

// If the app is running in Cordova, listen to URL changes in the InAppBrowser until we get a URL with an access_token or an error
if (runningInCordova) {
Expand Down