From 0390c2ec51eac978feb2b81f3c8947ad113652e8 Mon Sep 17 00:00:00 2001 From: marquex <javi@arqex.com> Date: Mon, 13 Jun 2016 11:45:50 +0200 Subject: [PATCH] Updates markup to remove buttons. --- src/DaysView.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DaysView.js b/src/DaysView.js index 1a3d0aa..07a8d9f 100644 --- a/src/DaysView.js +++ b/src/DaysView.js @@ -15,9 +15,9 @@ tableChildren = [ DOM.thead({ key: 'th'}, [ DOM.tr({ key: 'h'},[ - DOM.th({ key: 'p', className: 'rdtPrev' }, DOM.button({onClick: this.props.subtractTime(1, 'months'), type: 'button' }, '���')), + DOM.th({ key: 'p', className: 'rdtPrev' }, DOM.span({onClick: this.props.subtractTime(1, 'months')}, '���')), 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.th({ key: 'n', className: 'rdtNext' }, DOM.span({onClick: this.props.addTime(1, 'months')}, '���')) ]), DOM.tr({ key: 'd'}, this.getDaysOfWeek( locale ).map( function( day, index ){ return DOM.th({ key: day + index, className: 'dow'}, day ); }) ) ]), @@ -121,7 +121,7 @@ return ''; var date = this.props.selectedDate || this.props.viewDate; - + return DOM.tfoot({ key: 'tf'}, DOM.tr({}, DOM.td({ onClick: this.props.showView('time'), colSpan: 7, className: 'rdtTimeToggle'}, date.format( this.props.timeFormat )) -- Gitblit v1.9.3