Don't set expsure to null.

This commit is contained in:
mmcw-dev 2017-10-23 01:24:22 -04:00
parent 0fcd6d0970
commit d0e1026c7a
1 changed files with 3 additions and 0 deletions

View File

@ -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',