From e632bb336e30acc6be253578af6abdbf2db66cc8 Mon Sep 17 00:00:00 2001 From: Gil Hanan Date: Wed, 16 Dec 2015 22:31:58 +0200 Subject: [PATCH] facebookConnectPlugin is not defined credit https://github.com/Wizcorp/phonegap-facebook-plugin/issues/866#issuecomment-162750007 --- facebookConnectPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facebookConnectPlugin.js b/facebookConnectPlugin.js index c6afb167e..0d4b2df64 100644 --- a/facebookConnectPlugin.js +++ b/facebookConnectPlugin.js @@ -9,7 +9,7 @@ * */ -if (cordova.platformId == "browser") { +if (!window.cordova) { var facebookConnectPlugin = {