We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2329109 commit 3827365Copy full SHA for 3827365
_pages/wc.md
@@ -37,12 +37,11 @@ description: Word cloud visualization of blog posts by year.
37
const yearSelect = document.getElementById('yearSelect');
38
39
document.addEventListener("DOMContentLoaded", () => {
40
- const yearSelector = document.getElementById("yearSelect");
41
-
42
const endYear = new Date().getFullYear();
43
for(let year = 2006; year <= endYear; year++) {
44
yearSelect.append(new Option(""+year, ""+year, true, true));
45
}
+ yearSelect.selectedIndex = 0;
46
});
47
48
yearSelect.addEventListener('change', () => {
0 commit comments