mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
PostHider: added opacity
This commit is contained in:
parent
66760789e1
commit
ed77ee7874
@ -21,8 +21,8 @@ function phPostHandle(element) {
|
||||
var pbody = element.children("div.post.op").children("div.body");
|
||||
var pimage = element.children("a:first").children("img");
|
||||
var pbutton = element.children("div.post.op").children("p.intro").children("a.posthider");
|
||||
if(phPostHidden(id)) { element.addClass("post-hidden"); preplies.hide(); pbody.hide(); pimage.hide(); pbutton.text("[+]"); }
|
||||
else { element.removeClass("post-hidden"); preplies.show(); pbody.show(); pimage.show(); pbutton.text("[-]"); }
|
||||
if(phPostHidden(id)) { element.addClass("thread-hidden"); preplies.hide(); pbody.hide(); pimage.hide(); pbutton.text("[+]"); }
|
||||
else { element.removeClass("thread-hidden"); preplies.show(); pbody.show(); pimage.show(); pbutton.text("[-]"); }
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
|
@ -453,3 +453,6 @@ table.mod.config-editor input[type="text"] {
|
||||
background-color: #fff;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.thread-hidden {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user