Update hide/show logic
parent
9caef4686f
commit
6717894467
|
@ -95,7 +95,7 @@ DDH.cheat_sheets.build = function(ops) {
|
|||
$container = $dom.find(".cheatsheet__container"),
|
||||
$detail = $dom.find(".zci__main--detail"),
|
||||
$section = $dom.find(".cheatsheet__section"),
|
||||
$hideRow = $section.find("tbody tr:nth-child(n+4)"),
|
||||
$hideRow = $section.find("tbody tr:nth-child(n+4), ul li:nth-child(n+4)"),
|
||||
$showhide = $container.find(".cheatsheet__section.showhide"),
|
||||
$more_btn = $dom.find(".chomp--link"),
|
||||
isExpanded = false,
|
||||
|
|
Loading…
Reference in New Issue