Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions colcade.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ proto.layoutItems = function( items ) {
};

proto.layoutItem = function( item ) {
// skip if no column is active
if (!this.activeColumns.length) {
return;
}

// layout item by appending to column
var minHeight = Math.min.apply( Math, this.columnHeights );
var index = this.columnHeights.indexOf( minHeight );
Expand Down