Skip to content

Commit

Permalink
js: fix array comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2022
1 parent 5b2949f commit d479643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles-octopus.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ var SubtitlesOctopus = function (options) {
}
}

var removed = retainedItems.length < self.renderedItems;
var removed = retainedItems.length < self.renderedItems.length;
self.renderedItems = retainedItems;
return removed;
}
Expand Down

0 comments on commit d479643

Please sign in to comment.