X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/637f96b139a895372c2e90684858c07fb09a709f..948866cb20453892f057d497b3abf6d4b0677d8e:/apps/wolnelektury_core/static/js/widget.js diff --git a/apps/wolnelektury_core/static/js/widget.js b/apps/wolnelektury_core/static/js/widget.js index 09476297f..abadfd9cf 100644 --- a/apps/wolnelektury_core/static/js/widget.js +++ b/apps/wolnelektury_core/static/js/widget.js @@ -71,7 +71,8 @@ scriptSearch.onload = function() { error: function() { cb([]); } }); }, - dataType: "jsonp"}); + dataType: "jsonp", + host: "http://"+host}); } scriptSearch.onreadystatechange = function() { if (scriptSearch.readyState == 'complete') { scriptSearch.onload(); } };