Skip to content

Commit

Permalink
Fixed bug introduced when n bar charts where disabled. Fixes #42
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrohatgi committed Mar 18, 2015
1 parent 7bcce66 commit 2f63204
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions combined-compiled.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions combined.js
Original file line number Diff line number Diff line change
Expand Up @@ -5233,14 +5233,14 @@ wpd.alignAxes = (function () {
ternaryEl = document.getElementById('r_ternary');
mapEl = document.getElementById('r_map');
imageEl = document.getElementById('r_image');
barEl = document.getElementById('r_bar');
//barEl = document.getElementById('r_bar');

wpd.popup.close('axesList');

if (xyEl.checked === true) {
calibrator = wpd.xyCalibration;
} else if(barEl.checked === true) {
calibrator = wpd.barCalibration;
//} else if(barEl.checked === true) {
// calibrator = wpd.barCalibration;
} else if(polarEl.checked === true) {
calibrator = wpd.polarCalibration;
} else if(ternaryEl.checked === true) {
Expand Down
6 changes: 3 additions & 3 deletions javascript/tools/alignAxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,14 +390,14 @@ wpd.alignAxes = (function () {
ternaryEl = document.getElementById('r_ternary');
mapEl = document.getElementById('r_map');
imageEl = document.getElementById('r_image');
barEl = document.getElementById('r_bar');
//barEl = document.getElementById('r_bar');

wpd.popup.close('axesList');

if (xyEl.checked === true) {
calibrator = wpd.xyCalibration;
} else if(barEl.checked === true) {
calibrator = wpd.barCalibration;
//} else if(barEl.checked === true) {
// calibrator = wpd.barCalibration;
} else if(polarEl.checked === true) {
calibrator = wpd.polarCalibration;
} else if(ternaryEl.checked === true) {
Expand Down

0 comments on commit 2f63204

Please sign in to comment.