diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-04-30 11:35:24 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-04-30 11:35:24 +0000 |
commit | 64d8c3b82ccaf959d055f45aa98071476d682807 (patch) | |
tree | 52f6eb2e2a16e06e01d09f11703f5c377ae86dde | |
parent | f151676d63d59abb09d6dec08bf9207e8d13cd3d (diff) | |
parent | 1963cbe77ec15a22377b13b95b48edceeb47a3f3 (diff) | |
download | tuskar-ui-64d8c3b82ccaf959d055f45aa98071476d682807.tar.gz |
Merge "Add radix parameter to parseInt"
-rw-r--r-- | tuskar_ui/infrastructure/static/infrastructure/js/horizon.d3singlebarchart.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tuskar_ui/infrastructure/static/infrastructure/js/horizon.d3singlebarchart.js b/tuskar_ui/infrastructure/static/infrastructure/js/horizon.d3singlebarchart.js index 20e8f47f..2c681f28 100644 --- a/tuskar_ui/infrastructure/static/infrastructure/js/horizon.d3singlebarchart.js +++ b/tuskar_ui/infrastructure/static/infrastructure/js/horizon.d3singlebarchart.js @@ -135,7 +135,7 @@ horizon.d3_single_bar_chart = { self.auto_scale = function () { var max_scale = 0; $(self.auto_scale_selector()).each(function() { - var scale = parseInt($(this).data('single-bar-used')); + var scale = parseInt($(this).data('single-bar-used'), 10); if (scale > max_scale) max_scale = scale; }); |