Skip to content
Snippets Groups Projects
Commit 1adbd262 authored by deuce's avatar deuce
Browse files

Add '1' to the episode number *after* converting it to a number.

parent 9c0f5feb
Branches
Tags
No related merge requests found
......@@ -19,6 +19,6 @@ for (i in hdrs) {
var item_info = podcast_get_info(base, hdrs[i]);
if (item_info == undefined)
continue;
print('<a href="index.xjs?page=episode.ssjs&episode='+parseInt(i+1)+'">'+strftime("%B %e %Y", hdrs[i].when_written_time) + " " + item_info.title+'</a><br>');
print('<a href="index.xjs?page=episode.ssjs&episode='+(parseInt(i)+1)+'">'+strftime("%B %e %Y", hdrs[i].when_written_time) + " " + item_info.title+'</a><br>');
print('<p>'+item_info.description+'</p>');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment