summaryrefslogtreecommitdiffstats
path: root/static/script.js
blob: cf0a463cd718a15a2e11dcc5e5801f6ee84761d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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