This commit is contained in:
parent
210dcaf4fd
commit
c885d8641b
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ var Gutter = function(parentEl) {
|
|||
this.setAnnotations = function(annotations) {
|
||||
// iterate over sparse array
|
||||
this.$annotations = [];
|
||||
for (var row in annotations) {
|
||||
for (var row in annotations) if (annotations.hasOwnProperty(row)) {
|
||||
var rowAnnotations = annotations[row];
|
||||
if (!rowAnnotations)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue