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