Small usability improvements
authorMarcel Werk <burntime@woltlab.com>
Mon, 15 Apr 2013 22:01:25 +0000 (00:01 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 15 Apr 2013 22:01:25 +0000 (00:01 +0200)
wcfsetup/install/files/js/WCF.js

index ec467da97b0248df508cbfb29855e8d51f7bba31..1c359e41b0596349f1e06f11dda273fe21f07e7d 100755 (executable)
@@ -2231,7 +2231,7 @@ WCF.Date.Picker = {
                                monthNames: WCF.Language.get('__months'),
                                monthNamesShort: WCF.Language.get('__monthsShort'),
                                showOtherMonths: true,
-                               yearRange: '1900:2038'
+                               yearRange: ($input.hasClass('birthday') ? '-100:+0' : '1900:2038')
                        });
                        
                        // format default date