set metrics again after page load. this SEEMS to fix an issue in IE where page metrics are measured incorrectly on the initial run

This commit is contained in:
Andrew Croce 2018-09-27 13:41:59 -04:00
parent fd153dc39e
commit b34d9b471e

View File

@ -34,6 +34,7 @@ export default {
mounted: function () {
this._setDisplayedMonths()
this._setMetrics()
addEventListener('load', this._setMetrics)
addEventListener('resize', this._setMetrics)
},