Site updated: 2022-07-10 10:58:06

This commit is contained in:
llbzow
2022-07-10 10:58:07 +08:00
parent 2c43933a94
commit 971436e348
79 changed files with 13462 additions and 0 deletions

8
js/spoiler.js Normal file
View File

@@ -0,0 +1,8 @@
(function (document) {
[].forEach.call(document.getElementsByClassName('spoiler'), function(panel) {
panel.getElementsByClassName('spoiler-title')[0].onclick = function() {
panel.classList.toggle("collapsed");
panel.classList.toggle("expanded");
}
});
})(document);