PostHider: fix for a:link styling

This commit is contained in:
asiekierka 2012-12-24 13:36:56 +01:00
parent 55ee009605
commit b169de9d49

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));
}