fixed long standing time and calender bug

This commit is contained in:
2019-11-27 00:55:58 +00:00
parent a33aa810eb
commit 5bb3fe12ab

View File

@@ -85,7 +85,7 @@ export default {
//this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load
//also it shouldn't signal a change if the values are the same and nothing was effectively changed
var hasChanged = false;
if (this.oldDate != null && this.date != this.oldDate) {
if (this.date != this.oldDate) {
hasChanged = true;
}
this.oldDate = this.date;