Client format...

This commit is contained in:
Dannon Baker
2020-02-05 10:34:37 -05:00
parent 25f3508ce4
commit 1872486f0d
+2 -2
View File
@@ -30,8 +30,8 @@ const View = Backbone.View.extend({
return true;
}
if (!this.model.get("precise")) {
if (value != value.split(".")[0]){
return false
if (value != value.split(".")[0]) {
return false;
}
}
return value == value.replace(/[^0-9eE.-]/g, "");