Code Duplication    Length = 4-4 lines in 2 locations

js/jquery-ui.js 2 locations

@@ 9241-9244 (lines=4) @@
9238
			this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
9239
			this._getFormatConfig(inst)));
9240
9241
		next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
9242
			"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
9243
			" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
9244
			(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
9245
9246
		currentText = this._get(inst, "currentText");
9247
		gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
@@ 9231-9234 (lines=4) @@
9228
			this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
9229
			this._getFormatConfig(inst)));
9230
9231
		prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
9232
			"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
9233
			" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
9234
			(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
9235
9236
		nextText = this._get(inst, "nextText");
9237
		nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,