Disable Odnoklassniki counter on HTTPS because of redirect to HTTP.
parent
1be1381eb6
commit
e4025f021f
|
@ -95,9 +95,8 @@
|
||||||
popupHeight: 330
|
popupHeight: 330
|
||||||
},
|
},
|
||||||
odnoklassniki: {
|
odnoklassniki: {
|
||||||
// connect.ok.ru works on mobiles but doesn’t work with HTTPS
|
// HTTPS not supported
|
||||||
// www.ok.ru works with HTTPS but redirects to HTML page on mobiles
|
counterUrl: isHttps ? undefined : 'http://connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
|
||||||
counterUrl: (isHttps ? 'https://www' : 'http://connect') + '.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
|
|
||||||
counter: function(jsonUrl, deferred) {
|
counter: function(jsonUrl, deferred) {
|
||||||
var options = services.odnoklassniki;
|
var options = services.odnoklassniki;
|
||||||
if (!options._) {
|
if (!options._) {
|
||||||
|
|
Loading…
Reference in New Issue