VRFS-1422 removed extra call to facebookHelper.promptLogin() which is unnecessary for feed posts
This commit is contained in:
parent
3ff131c031
commit
c8a60a7d83
|
|
@ -195,7 +195,7 @@
|
|||
var obj = {
|
||||
method: 'feed',
|
||||
link: signupUrl,
|
||||
picture: 'http://www.jamkazam.com/assets/web/logo-512.png',
|
||||
picture: 'http://www.jamkazam.com/assets/web/logo-256.png',
|
||||
name: 'Join me on JamKazam',
|
||||
caption: 'Play live music in real-time sessions with others over the Internet, as if in the same room.',
|
||||
description: '',
|
||||
|
|
@ -216,13 +216,7 @@
|
|||
|
||||
function showFacebookDialog(evt) {
|
||||
if (!(evt === undefined)) evt.stopPropagation();
|
||||
|
||||
facebookHelper.promptLogin()
|
||||
.done(function(response) {
|
||||
if (response && response.status == "connected") {
|
||||
showFeedDialog();
|
||||
}
|
||||
})
|
||||
showFeedDialog();
|
||||
}
|
||||
|
||||
// END FB handlers
|
||||
|
|
|
|||
Loading…
Reference in New Issue