全站通知:
Widget:CardSelectTrExt
刷
历
编
跳到导航
跳到搜索
<script> (function() {
console.log("CardSelectTrExt.js loaded"); function addClickEvent() { const filterButtons = document.querySelectorAll('.filterTableBt'); filterButtons.forEach(button => { button.addEventListener('click', function(e) { setTimeout(()=>{ waterfall('.waterfall-container') },100) }); }); } function addResizeEvent(){ window.addEventListener('resize', function() { setTimeout(()=>{ waterfall('.waterfall-container') },100) }) } if (document.readyState !== 'loading') { addClickEvent(); addResizeEvent(); } else { document.addEventListener('DOMContentLoaded', addClickEvent); document.addEventListener('DOMContentLoaded', addResizeEvent); }
})();
</script>