Don't set expsure to null.
This commit is contained in:
parent
0fcd6d0970
commit
d0e1026c7a
|
@ -497,6 +497,9 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
|
||||||
};
|
};
|
||||||
web.setExposure = function () {
|
web.setExposure = function () {
|
||||||
var exposure = $('#exposure').val();
|
var exposure = $('#exposure').val();
|
||||||
|
if (exposure === '' || exposure === null) {
|
||||||
|
exposure = 0;
|
||||||
|
}
|
||||||
var scaledExposure = scaleTime(exposure, STATE.scale);
|
var scaledExposure = scaleTime(exposure, STATE.scale);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method : 'POST',
|
method : 'POST',
|
||||||
|
|
Loading…
Reference in New Issue