fix in librarian
[wolnelektury.git] / apps / wolnelektury_core / static / js / search.js
index d7b00c2..4d001e0 100644 (file)
@@ -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();
            }