Cache fixes, vk like
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.fb-like{ "data-href" => "http://facebook.com/BeatHavenHQ", "data-send" => "false", "data-layout" => "button_count", "data-width" => "100", "data-show-faces" => "false", "data-font" => "lucida grande" }
|
||||
.vk-like
|
||||
#vk-like
|
||||
%script{ type: "text/javascript" }
|
||||
= "document.write(VK.Share.button(false, {type: \"round\", text: \"#{t('global.like')}\"}));".html_safe
|
||||
= "VK.Widgets.Like(\"vk_like\", {type: \"button\", height: 20, pageUrl: \"http://beathaven.org/\", text: \"#{t('global.like')}\"})"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
%link{ rel: "search", type: "application/opensearchdescription+xml", title: "BeatHaven", href: "/opensearch.xml"}
|
||||
= stylesheet_link_tag :application, cache: true
|
||||
= javascript_include_tag :application, cache: true
|
||||
= javascript_include_tag "http://vkontakte.ru/js/api/share.js", charset: "windows-1251"
|
||||
= javascript_include_tag "http://userapi.com/js/api/openapi.js?45", charset: "windows-1251"
|
||||
%body
|
||||
#fb-root
|
||||
.topbar-wrapper
|
||||
|
||||
Reference in New Issue
Block a user