12 lines
291 B
JavaScript
12 lines
291 B
JavaScript
|
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';
|
||
|
}
|
||
|
}
|
||
|
}
|