Skip to content

Commit

Permalink
Replace .filter() with .is()
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Warren committed Sep 6, 2023
1 parent dcc293e commit 2a46728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iXBRLViewerPlugin/viewer/src/js/ixnode.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ export class IXNode {
}

htmlHidden() {
return this.wrapperNodes.is(':hidden') || this.wrapperNodes.filter((i,e) => isTransparent($(e).css('color'))).length > 0;
return this.wrapperNodes.is(':hidden') || this.wrapperNodes.is((i,e) => isTransparent($(e).css('color')));
}
}

0 comments on commit 2a46728

Please sign in to comment.