support eval in chrome app
This commit is contained in:
parent
ba59a4f137
commit
7ee2cd756e
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
||||||
function evaluate(val) {
|
function evaluate(val) {
|
||||||
var result;
|
var result;
|
||||||
try {
|
try {
|
||||||
result = eval(val);
|
result = $scope.$eval(val);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue