gregH commited on
Commit
2751a3d
1 Parent(s): fd620cd

Update assets/js/calibration.js

Browse files
Files changed (1) hide show
  1. assets/js/calibration.js +2 -3
assets/js/calibration.js CHANGED
@@ -27,8 +27,7 @@ $(document).ready(function(){
27
  if(this.value == 'ppl') {
28
  $("#ppl-slider").slider('enable');
29
  $("#gradient-norm-slider").slider('disable');
30
- }
31
- else if (this.value== 'gradient_cuff'){
32
  $("#ppl-slider").slider('disable');
33
  $("#gradient-norm-slider").slider('enable');
34
  }else{
@@ -47,7 +46,7 @@ $(document).ready(function(){
47
  disabled: true,
48
  slide: function(event, ui) {bin_handle.text(ui.value);diagram.src = updateFigurePath(ui.value);},
49
  });
50
- var ts_handle = $("#ppl_threshold");
51
  $("#ppl-slider").slider({
52
  step: 5,
53
  min: 0,
 
27
  if(this.value == 'ppl') {
28
  $("#ppl-slider").slider('enable');
29
  $("#gradient-norm-slider").slider('disable');
30
+ }else if (this.value== 'gradient_cuff'){
 
31
  $("#ppl-slider").slider('disable');
32
  $("#gradient-norm-slider").slider('enable');
33
  }else{
 
46
  disabled: true,
47
  slide: function(event, ui) {bin_handle.text(ui.value);diagram.src = updateFigurePath(ui.value);},
48
  });
49
+ var ts_handle = $("#ppl-threshold");
50
  $("#ppl-slider").slider({
51
  step: 5,
52
  min: 0,