summaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-23 23:10:26 +0100
committerJochen Topf <jochen@topf.org>2012-01-23 23:10:26 +0100
commitc07a5bce1a4815453e643309697e92eff5cbf667 (patch)
tree0ef02fa8ec41fbd12d6c45cb17be78c9286d6003 /web/viewsjs
parent64fd0326701f75027efd6b82ac0ce28571041ec5 (diff)
downloadtaginfo-c07a5bce1a4815453e643309697e92eff5cbf667.tar
taginfo-c07a5bce1a4815453e643309697e92eff5cbf667.tar.gz
Improved and simplified highlighting of search results
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/search.js.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/viewsjs/search.js.erb b/web/viewsjs/search.js.erb
index cbaa842..ee7d33b 100644
--- a/web/viewsjs/search.js.erb
+++ b/web/viewsjs/search.js.erb
@@ -36,7 +36,7 @@ var create_flexigrid_for = {
return { 'cell': [
print_with_ts(row.count_all),
link_to_key(row.key),
- link_to_value_with_highlight(row.key, row.value, query)
+ link_to_value(row.key, row.value, query)
] };
});
return data;
@@ -60,7 +60,7 @@ var create_flexigrid_for = {
return { 'cell': [
print_with_ts(row.count_all),
link_to_key(row.key, q[0]),
- link_to_value_with_highlight(row.key, row.value, q[1])
+ link_to_value(row.key, row.value, q[1])
] };
});
return data;