Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
fix(plugin:FB): fix showDialog param to use option
Browse files Browse the repository at this point in the history
  • Loading branch information
pbernasconi committed Oct 17, 2014
1 parent 53cb896 commit 328a198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ angular.module('ngCordova.plugins.facebook', [])
return q.promise;
},

showDialog: function (permissions) {
showDialog: function (options) {

var q = $q.defer();
facebookConnectPlugin.showDialog(permissions,
facebookConnectPlugin.showDialog(options,
function (res) {
q.resolve(res);
},
Expand Down

0 comments on commit 328a198

Please sign in to comment.