From e17e7b0d8716b46f02f87085c23bba54bd09fc8c Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Fri, 4 Dec 2015 09:56:23 +0100 Subject: [PATCH] Calendar: Fix line indention --- ui/widgets/calendar.js | 46 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/ui/widgets/calendar.js b/ui/widgets/calendar.js index b493cb72f..2a4d084c3 100644 --- a/ui/widgets/calendar.js +++ b/ui/widgets/calendar.js @@ -279,7 +279,7 @@ return $.widget( "ui.calendar", { html += "
"; html += "
" + - this._buildTitlebar() + "
"; + this._buildTitlebar() + "
"; html += this._buildGrid() + ""; } @@ -294,15 +294,15 @@ return $.widget( "ui.calendar", { _buildHeader: function() { return "
" + - this._buildTitlebar() + - "
"; + this._buildTitlebar() + + ""; }, _buildHeaderButtons: function() { return "
" + - this._buildPreviousLink() + - this._buildNextLink() + - "
"; + this._buildPreviousLink() + + this._buildNextLink() + + ""; }, _buildPreviousLink: function() { @@ -320,12 +320,12 @@ return $.widget( "ui.calendar", { _buildTitlebar: function() { return "
" + "
" + - this._buildTitle() + - "
" + - ", " + - this._getTranslation( "datePickerRole" ) + - "" + - "
"; + this._buildTitle() + + "" + + ", " + + this._getTranslation( "datePickerRole" ) + + "" + + ""; }, _buildTitle: function() { @@ -339,11 +339,11 @@ return $.widget( "ui.calendar", { _buildGrid: function() { return "" + - this._buildGridHeading() + - this._buildGridBody() + - "
"; + "aria-labelledby='" + this.gridId + "-month-label' tabindex='0' " + + "aria-activedescendant='" + this._getDayId( this.date ) + "'>" + + this._buildGridHeading() + + this._buildGridBody() + + ""; }, _buildGridHeading: function() { @@ -360,16 +360,16 @@ return $.widget( "ui.calendar", { } return "" + - "" + cells + "" + - ""; + "" + cells + "" + + ""; }, _buildGridHeaderCell: function( day ) { return "" + - "" + - day.shortname + - "" + - ""; + "" + + day.shortname + + "" + + ""; }, _buildGridBody: function() {