git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
browser: omit trailing commas in javascript arrays
[sheet.git]
/
searchlocal.js
diff --git
a/searchlocal.js
b/searchlocal.js
index 09899710cac5731d1276aa1ee538f4154a60985f..a14c8c07daa9eb95c1a1190abcc0b0c3d459700c 100644
(file)
--- a/
searchlocal.js
+++ b/
searchlocal.js
@@
-125,21
+125,21
@@
function prependsearch(target) {
'form', {
id: 'search',
'class': 'aside',
'form', {
id: 'search',
'class': 'aside',
- onsubmit: "filtertable(this.q.value); this.q.value = ''; return false"
,
+ onsubmit: "filtertable(this.q.value); this.q.value = ''; return false"
},
[
newelement('input', {
type: 'search',
name: 'q',
onkeyup: "if (filtertoggles && !filterupdate) filterupdate = "
},
[
newelement('input', {
type: 'search',
name: 'q',
onkeyup: "if (filtertoggles && !filterupdate) filterupdate = "
- + "window.setTimeout(filtertable, 300, undefined, 'focus')"
,
+ + "window.setTimeout(filtertable, 300, undefined, 'focus')"
}),
filtertoggles && newelement('input', {
type: 'button',
value: 'toggle',
}),
filtertoggles && newelement('input', {
type: 'button',
value: 'toggle',
- onclick: "filtertable(this.form.q.value, 'target')"
,
+ onclick: "filtertable(this.form.q.value, 'target')"
}),
}),
- newelement('input', {type:'submit', value:'filter'})
,
+ newelement('input', {type:'submit', value:'filter'})
]
), target);
}
]
), target);
}