fix actions
This commit is contained in:
11
static/js/index.js
Normal file
11
static/js/index.js
Normal file
@ -0,0 +1,11 @@
|
||||
function blog_list_open() {
|
||||
var b = document.querySelectorAll("li.blog-list-all");
|
||||
var index = 0, length = b.length;
|
||||
for ( ; index < length; index++) {
|
||||
if (b[index].style.display == 'none') {
|
||||
b[index].style.display = 'block';
|
||||
} else {
|
||||
b[index].style.display = 'none';
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user