We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9ee3a1 commit a3df6ddCopy full SHA for a3df6dd
ui/calendar.js
@@ -142,6 +142,9 @@ return $.widget( "ui.calendar", {
142
143
_needsRefresh: function() {
144
if ( this.date.month() !== this.viewDate.month() || this.date.year() !== this.viewDate.year() ) {
145
+
146
+ // Check if the needed day is already present in our grid due
147
+ // to eachDay option changes (eg. other-months demo)
148
return !this.grid.find(
149
this._sanitizeSelector( "#" + this._getDayId( this.date ) )
150
).length;
0 commit comments