Funding: Using thumbnail for the cover image on the offer detail page
[wolnelektury.git] / apps / wolnelektury_core / static / js / widget.js
index 0947629..abadfd9 100644 (file)
@@ -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(); } };