Skip to content

Commit d54042b

Browse files
authored
fix __fbSdkReady calls
1 parent 30ab2a8 commit d54042b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/facebook-browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ exports.getAccessToken = function getAccessToken (s, f) {
7777
exports.logEvent = function logEvent (eventName, params, valueToSum, s, f) {
7878
if (!__fbSdkReady) {
7979
return __fbCallbacks.push(function() {
80-
api(graphPath, permissions, s, f);
80+
logEvent(eventName, params, valueToSum, s, f);
8181
});
8282
}
8383

@@ -89,7 +89,7 @@ exports.logEvent = function logEvent (eventName, params, valueToSum, s, f) {
8989
exports.logPurchase = function logPurchase (value, currency, s, f) {
9090
if (!__fbSdkReady) {
9191
return __fbCallbacks.push(function() {
92-
api(graphPath, permissions, s, f);
92+
logPurchase(value, currency, s, f);
9393
});
9494
}
9595

0 commit comments

Comments
 (0)