Skip to content

Commit

Permalink
dont rerender calendar on constraint-related options
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jan 29, 2018
1 parent 8c5d455 commit 33ff8ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OptionsManager.ts
Expand Up @@ -43,6 +43,8 @@ export default class OptionsManager extends Model {
return // can't change date this way. use gotoDate instead
} else if (optionName === 'businessHours') {
return // this model already reacts to this
} else if (/^(event|select)(Overlap|Constraint|Allow)$/.test(optionName)) {
return // doesn't affect rendering. only interactions.
} else if (optionName === 'timezone') {
this._calendar.view.flash('initialEvents')
return
Expand Down

0 comments on commit 33ff8ed

Please sign in to comment.