26 lines
No EOL
772 B
HTML
26 lines
No EOL
772 B
HTML
<!-- Like button -->
|
|
<script>
|
|
$(".fa-heart").click(function(){
|
|
if ($(this).attr("red") == 'true'){
|
|
$(this).animate({color:"#808080"});
|
|
$(this).attr("red", false);
|
|
} else {
|
|
$(this).animate({color:"#ff0000"});
|
|
$(this).attr("red", true);
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<!-- 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> |