parseInt to make comparisons work...
This commit is contained in:
parent
4d12b745be
commit
2ff18a0646
6 changed files with 3 additions and 3 deletions
|
@ -827,8 +827,8 @@ $UPDATE_RATE=$settings['update_rate'];
|
|||
id = basename(url);
|
||||
max=document.getElementById('max-' + id);
|
||||
keep=document.getElementById('keep-' + id);
|
||||
maxval = max.value;
|
||||
keepval = keep.value;
|
||||
maxval = parseInt(max.value);
|
||||
keepval = parseInt(keep.value);
|
||||
if(maxval > keepval) {
|
||||
keeper = (maxval > 2) ? 5 : 2;
|
||||
if (confirm("Sync count " + maxval + " is higher than Keep count " + keepval + "\n\n" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue