mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-27 05:11:42 -04:00
Merge pull request #1160 from TheGrits/patch-3
Fix gh-1159: Add 2017 to Teacher Registration
This commit is contained in:
parent
ca0985571e
commit
22802f87e8
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ module.exports = {
|
|||
},
|
||||
getYearOptions: function () {
|
||||
return Array.apply(null, Array(100)).map(function (v, id) {
|
||||
var year = 2016 - id;
|
||||
var year = new Date().getFullYear() - id;
|
||||
return {value: year, label: year};
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue