Skip to content

Commit

Permalink
Merge pull request #122 from aldeed/master
Browse files Browse the repository at this point in the history
Remove synchronous loading of all.js
  • Loading branch information
webtechnick committed Mar 3, 2013
2 parents 0fbbc55 + d448a14 commit 5f67968
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion View/Helper/FacebookHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,6 @@ public function init($options = null, $reload = true) {
), (array)$options);
if ($appId = FacebookInfo::getConfig('appId')) {
$init = '<div id="fb-root"></div>';
$init .= '<script src="//connect.facebook.net/'.$this->locale.'/all.js"></script>';
$init .= $this->Html->scriptBlock("
window.fbAsyncInit = function() {
FB.init({
Expand Down

0 comments on commit 5f67968

Please sign in to comment.