Skip to content

Commit

Permalink
Minor correction to parseInt function added last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwilson committed Mar 22, 2012
1 parent 1d203ce commit 1687e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make-Blogger-Archive-Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ function DisplaytheTOC(PostTitles,PostURLs,PostYears,PostMonths,PostDays)
for(var EntryNum = 0; EntryNum < NumberOfEntries; EntryNum++)
{
NameOfMonth = MonthNames[parseInt(PostMonths[EntryNum],10)-1]
document.write('<a href ="'+PostURLs[EntryNum]+'">'+PostTitles[EntryNum]+"</a> ("+NameOfMonth+" "+parseInt(PostDays[EntryNum])+", "+PostYears[EntryNum]+")<br />");
document.write('<a href ="'+PostURLs[EntryNum]+'">'+PostTitles[EntryNum]+"</a> ("+NameOfMonth+" "+parseInt(PostDays[EntryNum],10)+", "+PostYears[EntryNum]+")<br />");
}
}

0 comments on commit 1687e4e

Please sign in to comment.