Fix: indexOf should not be cast to boolean
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
if (!~result.indexOf ('.')) {
|
||||
if (result.indexOf ('.') > -1) {
|
||||
missing = deci;
|
||||
result += '.';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user