Skip to content

Commit

Permalink
[fixed] null exception on empty agenda view
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Sep 13, 2015
1 parent a6133e7 commit c8f8281
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Agenda.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ let Agenda = React.createClass({
let header = this.refs.header;
let firstRow = this.refs.tbody.firstChild

if (!firstRow)
return

let isOverflowing = this.refs.content.scrollHeight > this.refs.content.clientHeight;
let widths = this._widths || []

Expand Down

0 comments on commit c8f8281

Please sign in to comment.