naomi feehan
2015-11-20 1c9f0270ff77c59db23f07dcbf1db1d4da916eab
Updated Days View to allow duplicate Weekdays
1 files modified
2 ■■■ changed files
src/DaysView.js 2 ●●● patch | view | raw | blame | history
src/DaysView.js
@@ -19,7 +19,7 @@
                    DOM.th({ key: 's', className: 'rdtSwitch', onClick: this.props.showView('months'), colSpan: 5, 'data-value': this.props.viewDate.month() }, locale.months( date ) + ' ' + date.year() ),
                    DOM.th({ key: 'n', className: 'rdtNext' }, DOM.button({onClick: this.props.addTime(1, 'months'), type: 'button' }, '›'))
                ]),
                DOM.tr({ key: 'd'}, this.getDaysOfWeek( locale ).map( function( day ){ return DOM.th({ key: day, className: 'dow'}, day ); }) )
                DOM.tr({ key: 'd'}, this.getDaysOfWeek( locale ).map( function( day, index ){ return DOM.th({ key: day + index, className: 'dow'}, day ); }) )
            ]),
            DOM.tbody({key: 'tb'}, this.renderDays())
        ];