X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b8bf902291073e8af05205ae40502fbe793ea318..a1edf3f1a7cff6e6f4d85a4288ca9b1d5cd3b254:/apps/wolnelektury_core/static/js/search.js?ds=sidebyside diff --git a/apps/wolnelektury_core/static/js/search.js b/apps/wolnelektury_core/static/js/search.js index d7b00c2d0..4d001e0c0 100644 --- a/apps/wolnelektury_core/static/js/search.js +++ b/apps/wolnelektury_core/static/js/search.js @@ -25,7 +25,7 @@ var __bind = function (self, fn) { enter: function(event, ui) { if (ui.item.url != undefined) { - location.href = ui.item.url; + location.href = this.options.host+ui.item.url; } else { this.element.closest('form').submit(); }