Update main.js
parent
ca5157973c
commit
8300367f09
|
@ -111,7 +111,7 @@
|
|||
toggleFold(this, fold === 'folded');
|
||||
});
|
||||
|
||||
$('figure.highlight figcaption').click(function() {
|
||||
$('figure.highlight figcaption .level-left').click(function() {
|
||||
const $code = $(this).closest('figure.highlight');
|
||||
toggleFold($code.eq(0), !$code.hasClass('folded'));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue