diff options
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/key.js.erb | 2 | ||||
-rw-r--r-- | web/viewsjs/reports/characters_in_keys.js.erb | 2 | ||||
-rw-r--r-- | web/viewsjs/search.js.erb | 2 | ||||
-rw-r--r-- | web/viewsjs/tag.js.erb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb index a8b99fa..165f91f 100644 --- a/web/viewsjs/key.js.erb +++ b/web/viewsjs/key.js.erb @@ -163,7 +163,7 @@ function create_chart(params) { var scale = d3.scale.linear() .domain([0, params.max]) .range([0, params.height]); - + var color = d3.scale.ordinal() .range(d3_colors()); diff --git a/web/viewsjs/reports/characters_in_keys.js.erb b/web/viewsjs/reports/characters_in_keys.js.erb index 72061d8..3dbc7c0 100644 --- a/web/viewsjs/reports/characters_in_keys.js.erb +++ b/web/viewsjs/reports/characters_in_keys.js.erb @@ -87,7 +87,7 @@ function page_init() { var scale = d3.scale.linear() .domain([0, max]) .range([0, w]); - + var chart = d3.select('#canvas').append('svg') .attr("width", w) .attr("height", h); diff --git a/web/viewsjs/search.js.erb b/web/viewsjs/search.js.erb index d09afd7..0dd3fdb 100644 --- a/web/viewsjs/search.js.erb +++ b/web/viewsjs/search.js.erb @@ -17,7 +17,7 @@ function link_to_key_with_highlight(key, query) { function link_to_value_with_highlight(key, value, query) { return link( - url_for_tag(key, value), + url_for_tag(key, value), highlight(value, query) ); } diff --git a/web/viewsjs/tag.js.erb b/web/viewsjs/tag.js.erb index 3626aa3..4cf5908 100644 --- a/web/viewsjs/tag.js.erb +++ b/web/viewsjs/tag.js.erb @@ -147,6 +147,6 @@ function page_init() { window.location.search = jQuery.param(qs); }); - + page_init2(); } |