mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-23 08:02:43 +00:00
perf: lean bootstrap javascript (#1734)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/**
|
||||
* Tab 'Categories' expand/close effect.
|
||||
*/
|
||||
|
||||
import 'bootstrap/js/src/collapse.js';
|
||||
|
||||
const childPrefix = 'l_';
|
||||
const parentPrefix = 'h_';
|
||||
const children = document.getElementsByClassName('collapse');
|
||||
|
||||
Reference in New Issue
Block a user