forked from Disroot/Howto
6 lines
129 B
JavaScript
6 lines
129 B
JavaScript
import $ from 'jquery';
|
|
|
|
// TOC
|
|
$(document).on('click', '.toc-toggle', () => {
|
|
$('.page-toc').toggleClass('toc-closed');
|
|
});
|