summaryrefslogtreecommitdiff
path: root/python/gras/stats/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/stats/main.js')
-rw-r--r--python/gras/stats/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/gras/stats/main.js b/python/gras/stats/main.js
index 4c935de..956405b 100644
--- a/python/gras/stats/main.js
+++ b/python/gras/stats/main.js
@@ -48,7 +48,7 @@ var gras_stats_main = function()
gras_chart_factory_init();
//init overall config gui element for rate
- var overall_rate = $('input[name="rate"]', overall_config);
+ var overall_rate = $('#chart_update_rate');
overall_rate.val(registry.overall_rate);
overall_rate.change(function()
{
@@ -57,7 +57,7 @@ var gras_stats_main = function()
//init overall config gui element for activity
registry.overall_active = true;
- var overall_active = $('input[name="active"]', overall_config);
+ var overall_active = $('#chart_active_state');
overall_active.attr('checked', registry.overall_active);
overall_active.change(function()
{