Skip to content

Commit baac7b6

Browse files
committed
clarify 'no events' message
1 parent 8d11d8f commit baac7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/TimelineConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class TimelineConfig {
141141
*/
142142
validate() {
143143
if (typeof(this.events) == "undefined" || typeof(this.events.length) == "undefined" || this.events.length == 0) {
144-
this.logError("Timeline configuration has no events.")
144+
this.logError("Timeline configuration has no events. Common causes for this: changing/erasing 'Year' from the A1 cell, or having 'era' in all non-title 'type' cells.")
145145
}
146146

147147
// make sure all eras have start and end dates
@@ -381,4 +381,4 @@ export class TimelineConfig {
381381
_process_fields(slide, stripMarkup, STRIP_MARKUP_FIELDS)
382382

383383
}
384-
}
384+
}

0 commit comments

Comments
 (0)