diff --git a/static/js/dss/lib/social.coffee b/static/js/dss/lib/social.coffee index 772b227..86cd302 100644 --- a/static/js/dss/lib/social.coffee +++ b/static/js/dss/lib/social.coffee @@ -22,7 +22,10 @@ window.open "http://twitter.com/share?url=" + "http://" + window.location.host + "/" + model.get("item_url") + "&text=" + model.get("title"), "twitterwindow", "height=450, width=550, top=" + ($(window).height() / 2 - 225) + ", left=" + $(window).width() / 2 + ", toolbar=0, location=0, menubar=0, directories=0, scrollbars=0" sharePageToFacebook: (model) -> - FB.fbAsyncInit('154504534677009'); + FB.init({ + appId : '154504534677009', + xfbml : true + }); FB.getLoginStatus (oResponse) -> if oResponse.status is "connected" FB.ui diff --git a/templates/base.html b/templates/base.html index 95e11b7..17fb516 100755 --- a/templates/base.html +++ b/templates/base.html @@ -56,17 +56,12 @@ {% block footerscripts %}