Skip to content

Commit

Permalink
Fix ESLint error
Browse files Browse the repository at this point in the history
  • Loading branch information
geomaster committed Jun 9, 2023
1 parent 7070122 commit a939ec9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions player/js/elements/svgElements/SVGShapeElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,7 @@ SVGShapeElement.prototype.setElementStyles = function (elementData) {
var j;
var jLen = this.stylesList.length;
for (j = 0; j < jLen; j += 1) {
if (arr.indexOf(this.stylesList[j]) !== -1) {
continue;
}

if (!this.stylesList[j].closed) {
if (arr.indexOf(this.stylesList[j]) === -1 && !this.stylesList[j].closed) {
arr.push(this.stylesList[j]);
}
}
Expand Down

0 comments on commit a939ec9

Please sign in to comment.