docs.gl
docs.gl copied to clipboard
Selecting search result should open it
If you go for example to http://docs.gl/gl4/glBufferStorage and search for some command and select it, you still have to press Go button to redirect to that page.
Yea I'm not good enough at Javascript to figure out how to not require that.
I don't remember the APIs offhand, but I think this is like, three or four lines of jQuery.
Adding
$("#search").autocomplete( "option", "select", function(e, ui) { location.href = '/' + ui.item.label; } );
after the other two autocomplete
calls in html/docs.gl.search.js
should work.
Hey sorry I was on vacation when this was posted. I wonder if it would be a bother to ask you to make a pull request?