- Clean up Web UI

This commit is contained in:
Christophe Dumez
2009-11-25 11:36:36 +00:00
parent b88d0e87d9
commit 93f3d0b687
3 changed files with 4 additions and 5 deletions

View File

@@ -13,7 +13,6 @@
</span>
<script type="text/javascript">
var round1 = function(val){return Math.round(val*10)/10};
var waitingTorrentFiles=false;
var current_hash = "";
@@ -164,7 +163,7 @@ var createPriorityCombo = function(id, selected_prio) {
row.length = 4;
row[0] = file.name;
row[1] = file.size;
row[2] = round1(file.progress*100);
row[2] = (file.progress*100).round(1);
row[3] = file.priority;
fTable.insertRow(i, row);
i++;