Fix Odnoklassniki URL to prevent redirect.
parent
9cf4756e7e
commit
7baede6751
|
@ -94,7 +94,7 @@
|
|||
popupHeight: 330
|
||||
},
|
||||
odnoklassniki: {
|
||||
counterUrl: protocol + '//www.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
|
||||
counterUrl: protocol + '//www.ok.ru/dk/?st.cmd=extLike&ref={url}&uid={index}',
|
||||
counter: function(jsonUrl, deferred) {
|
||||
var options = services.odnoklassniki;
|
||||
if (!options._) {
|
||||
|
@ -110,7 +110,7 @@
|
|||
$.getScript(makeUrl(jsonUrl, {index: index}))
|
||||
.fail(deferred.reject);
|
||||
},
|
||||
popupUrl: 'http://www.ok.ru/dk?st.cmd=addShare&st._surl={url}',
|
||||
popupUrl: 'http://www.ok.ru/dk/?st.cmd=addShare&st._surl={url}',
|
||||
popupWidth: 550,
|
||||
popupHeight: 360
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue