Skip to content

Commit

Permalink
Style fix: add parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Jan 4, 2024
1 parent 6ef8612 commit 0a6435b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx/traceability/assets/traceability.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jQuery.fn.extend({

if (relations.children().length > 0) {
const itemDiv = admonition.parent()
if (itemDiv.hasClass('collapse') && itemDiv.attr('id') != anchorId) {
if (itemDiv.hasClass('collapse') && (itemDiv.attr('id') != anchorId)) {
// collapse relations and attributes list for each item on page load
relations.toggle();
arrowDirection = 'down';
Expand Down

0 comments on commit 0a6435b

Please sign in to comment.