summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-04-30 15:41:57 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-04-30 15:41:57 +0200
commit46251a7e076aa23e4caa30c50f154382a1608ef1 (patch)
treeebbb210fbdb01f5a25ec0f0bbb517caacaadd565 /data
parentaeb5666b39103f5419d5d006dec54a07e35a8528 (diff)
downloadcomatose-46251a7e076aa23e4caa30c50f154382a1608ef1.tar.gz
comatose-46251a7e076aa23e4caa30c50f154382a1608ef1.tar.bz2
comatose-46251a7e076aa23e4caa30c50f154382a1608ef1.zip
Add longname and author to filter
Diffstat (limited to 'data')
-rw-r--r--data/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/script.js b/data/script.js
index d680225..7e8bef3 100644
--- a/data/script.js
+++ b/data/script.js
@@ -18,7 +18,8 @@ $(document).ready (function () {
var items = $('#protocols .protocol');
for (var i = 0; i < items.length; i++) {
var e = $(items[i]);
- if (e.data ('name').toLowerCase ().indexOf (search) >= 0) {
+ var val = e.data ('name') + ' ' + e.data ('longname') + ' ' + e.data ('author');
+ if (val.toLowerCase ().indexOf (search) >= 0) {
e.show ();
} else {
e.hide ();