diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-16 18:28:48 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-16 18:28:48 +0100 |
commit | 7227515b8e2b41f0fc91d2d1fd53411e55a04134 (patch) | |
tree | 86c59690ed76fdd7e0d819a7bd816fafe116068d /web/viewsjs | |
parent | 98a5052944d1538465e352d725f370cdaeac7ef9 (diff) | |
download | taginfo-7227515b8e2b41f0fc91d2d1fd53411e55a04134.tar taginfo-7227515b8e2b41f0fc91d2d1fd53411e55a04134.tar.gz |
Choose better link on right arrow key
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/tag.js.erb | 2 | ||||
-rw-r--r-- | web/viewsjs/tags.js.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/viewsjs/tag.js.erb b/web/viewsjs/tag.js.erb index 20852b3..a58d8f0 100644 --- a/web/viewsjs/tag.js.erb +++ b/web/viewsjs/tag.js.erb @@ -6,7 +6,7 @@ function link_to_key_or_tag(key, value) { var link = link_to_key(key) + '='; if (value && value != '') { - link += link_to_value(key, value); + link += link_to_value(key, value, { 'class': 'pref' }); } else { link += '*'; } diff --git a/web/viewsjs/tags.js.erb b/web/viewsjs/tags.js.erb index 5b2e6f5..11cfde7 100644 --- a/web/viewsjs/tags.js.erb +++ b/web/viewsjs/tags.js.erb @@ -20,7 +20,7 @@ function page_init() { preProcess: function(data) { data.rows = jQuery.map(data.data, function(row, i) { return { 'cell': [ - hover_expand(link_to_tag(row.key, row.value)), + hover_expand(link_to_tag(row.key, row.value, {}, { 'class': 'pref' })), print_value_with_percent(row.count_all, row.count_all_fraction), print_value_with_percent(row.count_nodes, row.count_nodes_fraction), print_value_with_percent(row.count_ways, row.count_ways_fraction), |