LLWiki正在建设中,欢迎加入我们

“Widget:Countdown”的版本间差异

跳转到导航 跳转到搜索
添加33字节 、​ 2020年9月30日 (三) 22:37
无编辑摘要
const run = () => {
document.querySelectorAll( '.countdownNode:not(.disabled)' ).forEach((ele) => {
if(ele.dataset.title) = ele.title;{
ele.removeAttribute('dataset.title = ele.title');
ele.removeAttribute('title');
}
fromNow(ele);
ele.style.visibility = "visible";
window.setInterval(fromNow(ele), 1000);
});
};
});
run();
window.setInterval(fromNow(ele)run, 1000);
});
//</pre>
16,874

个编辑

导航菜单