You've already forked hexo-theme-icarus
Update main.js
This commit is contained in:
@@ -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'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user