Skip to content

Commit

Permalink
Fix Issue 18
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinNoNoir committed Jul 31, 2013
1 parent c91a597 commit f0b09a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/likelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ LikeLines = {};
var n = (data || []).length;
var scaledArray;

if (n == 0) {
if (n == 0 || newSize == 0) {
return LikeLines.Util.zeros(newSize);
}
else if (n <= 2) {
Expand Down

0 comments on commit f0b09a2

Please sign in to comment.