Skip to content

Commit 903ff11

Browse files
committed
fixed show hide selecor/logic, now completely shows or hides scenarios
1 parent c551f79 commit 903ff11

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

TempMetroReportRestyling/orig.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ <h3 class='storyTitle'>Story: Using metro style html report example</h3>
228228
var show = !tile.hasClass("filterTileDisabled");
229229

230230
var resultType = tile.data("target-class");
231-
232-
$("div.scenario ." + resultType).parent().toggle(show);
231+
232+
// Toggle scenarios
233+
$("div." + resultType).closest(".scenario").toggle(show);
233234
});
234235
});
235236
/*

0 commit comments

Comments
 (0)