Put the cursor at the end of the hoogle search box #47

This commit is contained in:
Michael Sloan 2014-12-27 23:36:56 -08:00
parent 3229c1ef56
commit 2421b98cb4

5
templates/hoogle.julius Normal file
View File

@ -0,0 +1,5 @@
$(function() {
var input = $(".hoogle .search").get(0);
var len = input.value.length;
input.setSelectionRange(len, len);
})