Cache fixes, vk like

This commit is contained in:
magnolia-fan
2011-11-29 00:44:51 +04:00
parent 23cf09613d
commit 06f6b7a9d2
8 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class window.Ajax
return false if @previous_page == _ajax.getAnchor()
@previous_page = _ajax.getAnchor()
path = _ajax.getAnchor()
if path == "/"
if path in ["", "/"]
path = "/greetings/"
log "Ajax controller is detecting page for #{path} ..."
+1
View File
@@ -13,6 +13,7 @@ class window.Vkontakte
window.vkAsyncInit = ->
VK.init apiId: _vkontakte.getApiId()
_vkontakte.auth()
VK.Widgets.Like("vk-like", {type: "mini", height: 20})
setTimeout ->