Enable HTTPS for Odnoklassniki.

master
Artem Sapegin 2015-12-21 21:40:34 +01:00
parent 5b224434d5
commit 4b470a8f7e
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@
popupUrl: 'https://vk.com/share.php?url={url}&title={title}',
},
odnoklassniki: {
// HTTPS not supported
counterUrl: isHttps ? undefined : 'http://connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
counterUrl: protocol + 'connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
counter: function(jsonUrl, deferred) {
var options = services.odnoklassniki;
if (!options._) {