Selaa lähdekoodia

hack for JS error with now indicator

Adam Shaw 8 vuotta sitten
vanhempi
sitoutus
3ba50d71c2
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/View.js

+ 3 - 1
src/View.js

@@ -377,7 +377,9 @@ var View = FC.View = InteractiveDateComponent.extend({
 			InteractiveDateComponent.prototype.updateSize.apply(this, arguments);
 		}
 
-		this.updateNowIndicator();
+		if (this.has('dateProfile')) { // ugh
+			this.updateNowIndicator();
+		}
 	},