VK like button fix

This commit is contained in:
magnolia-fan
2011-11-29 02:38:23 +04:00
parent 5cc06f07c5
commit 549e27e0df
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ class window.Vkontakte
window.vkAsyncInit = ->
VK.init apiId: _vkontakte.getApiId()
_vkontakte.auth()
VK.Widgets.Like("vk-like", {type: "mini", height: 20})
VK.Widgets.Like("vk-like", {type: "mini", height: 22, pageUrl: "http://beathaven.org/", text: "Like"})
setTimeout ->
$('#vk_api_transport').append($('<script async="async" type="text/javascript" src="http://vkontakte.ru/js/api/openapi.js">'))