Tweak Odnoklassniki couter request.

master
Artem Sapegin 2014-11-20 15:31:34 +03:00
parent 534781298a
commit 8832317c42
1 changed files with 2 additions and 4 deletions

View File

@ -107,10 +107,8 @@
var index = options._.length;
options._.push(deferred);
$.ajax({
url: makeUrl(jsonUrl, {index: index}),
dataType: 'jsonp'
});
$.getScript(makeUrl(jsonUrl, {index: index}))
.fail(deferred.reject);
},
popupUrl: protocol + '//www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl={url}',
popupWidth: 550,