NEW: add pangu.js support
This commit is contained in:
parent
869c954f90
commit
07d45aa322
2 changed files with 18 additions and 2 deletions
|
@ -13,3 +13,14 @@
|
|||
|
||||
<!-- fancybox -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script>
|
||||
|
||||
<!-- pangu.js -->
|
||||
<script>
|
||||
pangu.spacingElementByClassName('moment-note');
|
||||
pangu.spacingElementByClassName('context');
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// listen to any DOM change and automatically perform spacing via MutationObserver()
|
||||
pangu.autoSpacingPage();
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue