Compare commits
No commits in common. "fcd8447658c45a90ed455ebff78df3113b9730e8" and "4708e5e0eb40fd22601a2c23083c641ff1bb5a0d" have entirely different histories.
fcd8447658
...
4708e5e0eb
@ -53,8 +53,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function timeshift_month(date, diff) {
|
function timeshift_month(date, diff) {
|
||||||
var month = date.getMonth() + diff, month_mod12 = month%12;
|
var month = date.getMonth() + diff;
|
||||||
return new Date(date.getFullYear() + Math.floor(month/12), month_mod12 >= 0 ? (month_mod12) : (month_mod12 + 12), date.getDate());
|
return new Date(date.getFullYear() + Math.floor(month/12), month >= 0 ? (month%12) : (month%12 + 12), date.getDate());
|
||||||
}
|
}
|
||||||
|
|
||||||
function datecalc(date, range, direction) {
|
function datecalc(date, range, direction) {
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
async resultset(value) {
|
async resultset(value) {
|
||||||
this.$nextTick(() => (this.$refs.headers) && (this.$refs.headers.length > 0) ? this.$refs.headers[this.$refs.headers.length - 1].scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
|
this.$nextTick(() => this.$refs.headers ? this.$refs.headers.scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user