Merge pull request #1472 from laf/issue-1468

Fixed clicking anywhere now takes you to where you should go
This commit is contained in:
Daniel Preussker
2015-07-18 22:01:25 +02:00

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,