Browse Source

Commented out some unnecessary code.

devel
Jonathan Rosenbaum 10 years ago
parent
commit
1929c5d752
  1. 4
      js/transaction.js

4
js/transaction.js

@ -79,8 +79,8 @@ $(function() {
var obj = $.parseJSON(value) var obj = $.parseJSON(value)
$("#" + this.id).text(obj.changed_change); $("#" + this.id).text(obj.changed_change);
var diff = Number(obj.changed_change) - Number(obj.change); var diff = Number(obj.changed_change) - Number(obj.change);
var str = this.id; // var str = this.id;
var id = str.match(/\d+/); // var id = str.match(/\d+/);
if (diff != 0) { if (diff != 0) {
/* /*
if(!$("#" + id[0] + "_different_change").length) { if(!$("#" + id[0] + "_different_change").length) {

Loading…
Cancel
Save