[fix][transaction.js] syntax error
diff --git a/public/js/transaction.js b/public/js/transaction.js
index 0002f66..79e7a56 100644
--- a/public/js/transaction.js
+++ b/public/js/transaction.js
@@ -138,7 +138,7 @@
var exchange_name = from_currency + "-" + to_currency;
wn.model.with_doc("Currency Exchange", exchange_name, function(name) {
var exchange_doc = wn.model.get_doc("Currency Exchange", exchange_name);
- callback(exchange_doc ? flt(exchange_doc.exchange_rate)) : 0);
+ callback(exchange_doc ? flt(exchange_doc.exchange_rate) : 0);
});
},