Skip to content

Commit

Permalink
Fix FB SDK issue. Closes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilewski committed May 15, 2014
1 parent 446444e commit 8f9cedc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ Share = (function(_super) {
};

Share.prototype.normalize_network_configuration = function() {
if (!this.config.networks.facebook.app_id) {
this.config.networks.facebook.load_sdk = false;
}
if (!this.is_encoded(this.config.networks.twitter.text)) {
this.config.networks.twitter.text = encodeURIComponent(this.config.networks.twitter.text);
}
Expand Down

0 comments on commit 8f9cedc

Please sign in to comment.