+4
-0
lines changedFilter options
+4
-0
lines changed Original file line number Diff line number Diff line change
@@ -600,18 +600,22 @@ export const BCalendar = Vue.extend({
600
600
} else if (keyCode === LEFT) {
601
601
// LEFT - Previous day (or next day for RTL)
602
602
activeDate.setDate(day + (isRTL ? 1 : -1))
603
+
activeDate = this.constrainDate(activeDate)
603
604
checkDate = activeDate
604
605
} else if (keyCode === RIGHT) {
605
606
// RIGHT - Next day (or previous day for RTL)
606
607
activeDate.setDate(day + (isRTL ? -1 : 1))
608
+
activeDate = this.constrainDate(activeDate)
607
609
checkDate = activeDate
608
610
} else if (keyCode === UP) {
609
611
// UP - Previous week
610
612
activeDate.setDate(day - 7)
613
+
activeDate = this.constrainDate(activeDate)
611
614
checkDate = activeDate
612
615
} else if (keyCode === DOWN) {
613
616
// DOWN - Next week
614
617
activeDate.setDate(day + 7)
618
+
activeDate = this.constrainDate(activeDate)
615
619
checkDate = activeDate
616
620
} else if (keyCode === HOME) {
617
621
// HOME - Today
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4