From 5710ce8ee70120f9a7490f228cc4c9e5ac7d7d09 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Tue, 13 Jan 2015 18:03:30 +0300 Subject: [PATCH] Always use HTTP for VK counter (HTTP causes redirect). --- src/social-likes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/social-likes.js b/src/social-likes.js index 4881c16..f1bcfbd 100644 --- a/src/social-likes.js +++ b/src/social-likes.js @@ -71,7 +71,7 @@ popupHeight: 360 }, vkontakte: { - counterUrl: protocol + '//vk.com/share.php?act=count&url={url}&index={index}', + counterUrl: 'https://vk.com/share.php?act=count&url={url}&index={index}', counter: function(jsonUrl, deferred) { var options = services.vkontakte; if (!options._) {