Fixed clicking anywhere now takes you to where you should go

This commit is contained in:
laf
2015-07-18 18:27:24 +01:00
parent 4ffff7de8e
commit bfa3d432a3
+3
View File
@@ -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,