parseInt to make comparisons work...
This commit is contained in:
parent
4d12b745be
commit
2ff18a0646
6 changed files with 3 additions and 3 deletions
BIN
dist/spodcast-0.3.7.tar.gz
vendored
BIN
dist/spodcast-0.3.7.tar.gz
vendored
Binary file not shown.
BIN
dist/spodcast-0.4.1.tar.gz
vendored
BIN
dist/spodcast-0.4.1.tar.gz
vendored
Binary file not shown.
BIN
dist/spodcast-0.4.2.tar.gz
vendored
BIN
dist/spodcast-0.4.2.tar.gz
vendored
Binary file not shown.
BIN
dist/spodcast-0.4.3.tar.gz
vendored
Normal file
BIN
dist/spodcast-0.4.3.tar.gz
vendored
Normal file
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = spodcast
|
name = spodcast
|
||||||
version = 0.4.2
|
version = 0.4.3
|
||||||
description = A caching Spotify podcast to RSS proxy.
|
description = A caching Spotify podcast to RSS proxy.
|
||||||
long_description = file:README.md
|
long_description = file:README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
|
@ -827,8 +827,8 @@ $UPDATE_RATE=$settings['update_rate'];
|
||||||
id = basename(url);
|
id = basename(url);
|
||||||
max=document.getElementById('max-' + id);
|
max=document.getElementById('max-' + id);
|
||||||
keep=document.getElementById('keep-' + id);
|
keep=document.getElementById('keep-' + id);
|
||||||
maxval = max.value;
|
maxval = parseInt(max.value);
|
||||||
keepval = keep.value;
|
keepval = parseInt(keep.value);
|
||||||
if(maxval > keepval) {
|
if(maxval > keepval) {
|
||||||
keeper = (maxval > 2) ? 5 : 2;
|
keeper = (maxval > 2) ? 5 : 2;
|
||||||
if (confirm("Sync count " + maxval + " is higher than Keep count " + keepval + "\n\n" +
|
if (confirm("Sync count " + maxval + " is higher than Keep count " + keepval + "\n\n" +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue