Merge pull request #3176 from SergioCrisostomo/fix-3158
Always apply same increment to not splited panels
This commit is contained in:
commit
f13df74fef
1 changed files with 1 additions and 3 deletions
|
@ -295,9 +295,7 @@
|
|||
const otherPanel = panel === 'left' ? 'right' : 'left';
|
||||
const otherCurrent = new Date(this[`${otherPanel}PanelDate`]);
|
||||
otherCurrent[`set${type}`](otherCurrent[`get${type}`]() + increment);
|
||||
if (current[`get${type}`]() !== otherCurrent[`get${type}`]()){
|
||||
this[`${otherPanel}PanelDate`] = otherCurrent;
|
||||
}
|
||||
this[`${otherPanel}PanelDate`] = otherCurrent;
|
||||
}
|
||||
},
|
||||
showYearPicker (panel) {
|
||||
|
|
Loading…
Add table
Reference in a new issue