Prevent flickering when starting

This commit is contained in:
Jonathan Vogt 2016-01-25 23:35:28 +01:00
parent 4847316f91
commit c8bd6b1114

View File

@ -186,9 +186,9 @@ calendar.init = function () {
this.updateData(this.updateCalendar.bind(this)); this.updateData(this.updateCalendar.bind(this));
this.intervalId = setInterval(function () { // this.intervalId = setInterval(function () {
this.updateCalendar(this.eventList) // this.updateCalendar(this.eventList)
}.bind(this), this.updateInterval); // }.bind(this), this.updateInterval);
this.dataIntervalId = setInterval(function () { this.dataIntervalId = setInterval(function () {
this.updateData(this.updateCalendar.bind(this)); this.updateData(this.updateCalendar.bind(this));