|
|
@@ -292,15 +292,17 @@
|
|
|
this.cale.lastHover = false
|
|
|
}
|
|
|
} else {
|
|
|
- this.cale.setDefaultMultiple(before, after)
|
|
|
- if (which === 'left') {
|
|
|
- this.setDate(before)
|
|
|
- this.weeks = this.cale.weeks
|
|
|
- } else {
|
|
|
- this.setDate(after)
|
|
|
- this.weeks = this.cale.weeks
|
|
|
- }
|
|
|
- this.cale.lastHover = true
|
|
|
+ if(this.cale.setDefaultMultiple!==undefined){
|
|
|
+ this.cale.setDefaultMultiple(before, after)
|
|
|
+ if (which === 'left') {
|
|
|
+ this.setDate(before)
|
|
|
+ this.weeks = this.cale.weeks
|
|
|
+ } else {
|
|
|
+ this.setDate(after)
|
|
|
+ this.weeks = this.cale.weeks
|
|
|
+ }
|
|
|
+ this.cale.lastHover = true
|
|
|
+ }
|
|
|
}
|
|
|
}, 16)
|
|
|
}
|
|
|
@@ -912,4 +914,4 @@
|
|
|
}
|
|
|
|
|
|
/* #endif */
|
|
|
-</style>
|
|
|
+</style>
|