Profiler/Prep:

* misc changes from profiler branch. No real changes on its own
This commit is contained in:
Sarjuuk
2018-03-22 13:59:30 +01:00
parent 5abb3f78cf
commit 3303722bc7
13 changed files with 107 additions and 73 deletions

View File

@@ -185,7 +185,7 @@
}
else if (node.tagName == 'INPUT') // string or numeric
{
if (node.value && node.value.search(/[^\d\s\/\*\-\+\.]/i) == -1)
if (node.value && node.value.search(/[^\d\s\/\*\-\+\.]/i) == -1 && node.value.split('.').length < 3)
node.value = eval(node.value);
value = node.value;