tabify
This commit is contained in:
parent
54fde6ae2e
commit
b3d65dc5b9
@ -372,9 +372,6 @@ onready(function() {
|
||||
};
|
||||
|
||||
// inject posthide into page
|
||||
|
||||
var posts = document.getElementsByClassName("post");
|
||||
for (var idx = 0 ; idx < posts.length; idx++ ) {
|
||||
var inject = function (elem) {
|
||||
var hider = document.createElement("a");
|
||||
hider.setAttribute("class", "hider");
|
||||
@ -407,6 +404,9 @@ onready(function() {
|
||||
};
|
||||
elem.appendChild(hider);
|
||||
};
|
||||
|
||||
var posts = document.getElementsByClassName("post");
|
||||
for (var idx = 0 ; idx < posts.length; idx++ ) {
|
||||
inject(posts[idx]);
|
||||
}
|
||||
// apply persiting hidden posts
|
||||
|
Reference in New Issue
Block a user