better settings for birthday datepicker

This commit is contained in:
psychobunny
2016-03-16 15:39:43 -04:00
parent 86bc7e3eff
commit c8b179e492

View File

@@ -17,7 +17,8 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
$('#inputBirthday').datepicker({
changeMonth: true,
changeYear: true,
yearRange: '1900:+0'
yearRange: '1900:-5y',
defaultDate: '-13y'
});
});