1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

PostHider: fix for a:link styling

This commit is contained in:
asiekierka 2012-12-24 13:36:56 +01:00
parent c035652f8c
commit 552d2c8c11

View File

@ -32,11 +32,12 @@ $(document).ready(function(){
var pin = $(this).children("div.post.op").children("p.intro");
var tid = phGetOpID($(this));
if(tid != NaN) {
$("<a class='posthider'>[?]</a>").insertAfter(pin.children('a:last')).click(function(e) {
$("<a href='javascript:;' class='posthider'>[?]</a>").insertAfter(pin.children('a:last')).click(function(e) {
var eO = $(e.target);
var par = eO.parent().parent().parent();
phPostToggle(phGetOpID(par));
phPostHandle(par);
return false;
});
phPostHandle($(this));
}