[Secure-testing-commits] r28973 - static
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 23 07:34:27 UTC 2014
Author: holger
Date: 2014-09-23 07:34:27 +0000 (Tue, 23 Sep 2014)
New Revision: 28973
Modified:
static/script.js
Log:
improve formatting, whitespace changes only
Modified: static/script.js
===================================================================
--- static/script.js 2014-09-23 06:59:20 UTC (rev 28972)
+++ static/script.js 2014-09-23 07:34:27 UTC (rev 28973)
@@ -1,15 +1,16 @@
var old_query_value = "";
+
function selectSearch() {
-document.searchForm.query.focus();
+ 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;
+ if (old_query_value == "") {
+ if (query.length > 5) {
+ old_query_value = query;
+ document.searchForm.submit();
+ } else {
+ old_query_value = query;
+ }
}
}
-}
More information about the Secure-testing-commits
mailing list