X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/637f96b139a895372c2e90684858c07fb09a709f..8a2ce53a8f28f4610224b7a453a0e19d3cebd92c:/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(); } };