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