Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
zhm committed Jul 8, 2012
1 parent 1fe0d53 commit a9cf5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*.csv
2 changes: 1 addition & 1 deletion js/choicemaker.js
Expand Up @@ -35,7 +35,7 @@ $(function() {
}
}

if (indentedParts.length === 0 || $.trim(indentedParts[0]).length === 0) {
if (!indentedParts || indentedParts.length === 0 || $.trim(indentedParts[0]).length === 0) {
return;
}

Expand Down

0 comments on commit a9cf5d9

Please sign in to comment.