prevents division by zero
This commit is contained in:
parent
9bf571bdd7
commit
b3fcdf8584
2 changed files with 3 additions and 2 deletions
|
|
@ -137,6 +137,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
if (result == 'Infinity') return null;
|
||||
return result;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue