summaryrefslogtreecommitdiffstats
path: root/web/html/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/home.php')
-rw-r--r--web/html/home.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/html/home.php b/web/html/home.php
index ddbb0fd6..e80efaa6 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -118,7 +118,11 @@ $(document).ready(function() {
matcher: function(item) { return true; },
sorter: function(items) { return items; },
menu: '<ul class="pkgsearch-typeahead"></ul>',
- items: 20
+ items: 20,
+ updater: function(item) {
+ document.location = '/packages/' + item;
+ return item;
+ }
}).attr('autocomplete', 'off');
});
</script>