Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Dec 18, 2014
1 parent 7de44b4 commit a68c447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,5 @@
"http://ikalogs.ru/*",
"http://*.ikalogs.ru/*"
],
"version": "2.0.0.36"
"version": "2.0.0.37"
}
2 changes: 1 addition & 1 deletion page/units.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function changeMaxValue_barracks(currentElementClass){
max[4]=(city_resources['crystal']-current_units_costs['crystal'])/resources[index]['crystal']<max[0]?(city_resources['crystal']-current_units_costs['crystal'])/resources[index]['crystal']:max[0];
var maxVal = Math.floor(Math.min.apply(Math, max)) > 0 ? Math.floor(Math.min.apply(Math, max)) : 0;
maxVal+=parseInt($('div.forminput input.textfield', this).val());
$('.ikaeasy_barracks_max', this).text(maxVal);
$('.ikaeasy_barracks_max', this).text('/ '+maxVal);
}
catch(ex) {
}
Expand Down

0 comments on commit a68c447

Please sign in to comment.