From bfa3d432a37287a26c92a7bc3351f707507a24ee Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 18 Jul 2015 18:27:24 +0100 Subject: [PATCH] Fixed clicking anywhere now takes you to where you should go --- html/includes/print-menubar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 62e6d97d6..e42c634e9 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -602,6 +602,9 @@ if ($(window).width() < 768) { devices.initialize(); ports.initialize(); bgp.initialize(); +$('#gsearch').bind('typeahead:select', function(ev, suggestion) { + window.location.href = suggestion.url; +}); $('#gsearch').typeahead({ hint: true, highlight: true,