mirror of https://github.com/BTCPrivate/copay.git
support eval in chrome app
This commit is contained in:
parent
ba59a4f137
commit
7ee2cd756e
|
@ -133,7 +133,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
function evaluate(val) {
|
||||
var result;
|
||||
try {
|
||||
result = eval(val);
|
||||
result = $scope.$eval(val);
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue