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 ->
|
||||
|
||||
@@ -42,11 +42,12 @@ table.stats {
|
||||
}
|
||||
}
|
||||
|
||||
.fb-like, .vk-like {
|
||||
.fb-like, #vk-like {
|
||||
float: left;
|
||||
clear: none !important;
|
||||
}
|
||||
|
||||
.vk-like td {
|
||||
#vk-like td {
|
||||
padding: 0 !important;
|
||||
border: none;
|
||||
line-height: 12px;
|
||||
|
||||
Reference in New Issue
Block a user