mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Profiler/Prep:
* misc changes from profiler branch. No real changes on its own
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user