summaryrefslogtreecommitdiffstats
path: root/static/script.js
blob: 62ec7ebf2919787b1f874b63178c878386684491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var old_query_value = "";
function selectSearch() {
document.searchForm.query.focus();
}

function onSearch(query) {
if (old_query_value == "") {
	if (query.length > 5) {
	old_query_value = query;
	document.searchForm.submit();
	} else {
	old_query_value = query;
	}
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy