Cache fixes, vk like
This commit is contained in:
@@ -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} ..."
|
||||
|
||||
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user