Update assets/js/calibration.js
Browse files- assets/js/calibration.js +4 -4
assets/js/calibration.js
CHANGED
@@ -40,17 +40,17 @@ $(document).ready(function(){
|
|
40 |
$( "#gradient-norm-slider" ).slider({
|
41 |
step: 50,
|
42 |
min: 0,
|
43 |
-
max:
|
44 |
value: 100,
|
45 |
create: function() {bin_handle.text($(this).slider("value"));},
|
46 |
slide: function(event, ui) {bin_handle.text(ui.value);diagram.src = updateFigurePath(ui.value);},
|
47 |
});
|
48 |
var ts_handle = $("#ppl-threshold");
|
49 |
$("#ppl-slider").slider({
|
50 |
-
step:
|
51 |
min: 0,
|
52 |
-
max:
|
53 |
-
value:
|
54 |
disabled: true,
|
55 |
create: function() {ts_handle.text($(this).slider("value"));},
|
56 |
slide: function( event, ui ) {ts_handle.text(ui.value);diagram.src = updateFigurePath($('#gradient-norm-slider').slider("option", "value"),ui.value);},
|
|
|
40 |
$( "#gradient-norm-slider" ).slider({
|
41 |
step: 50,
|
42 |
min: 0,
|
43 |
+
max: 800,
|
44 |
value: 100,
|
45 |
create: function() {bin_handle.text($(this).slider("value"));},
|
46 |
slide: function(event, ui) {bin_handle.text(ui.value);diagram.src = updateFigurePath(ui.value);},
|
47 |
});
|
48 |
var ts_handle = $("#ppl-threshold");
|
49 |
$("#ppl-slider").slider({
|
50 |
+
step: 20,
|
51 |
min: 0,
|
52 |
+
max: 200,
|
53 |
+
value: 20,
|
54 |
disabled: true,
|
55 |
create: function() {ts_handle.text($(this).slider("value"));},
|
56 |
slide: function( event, ui ) {ts_handle.text(ui.value);diagram.src = updateFigurePath($('#gradient-norm-slider').slider("option", "value"),ui.value);},
|