This commit is contained in:
Marcin Łabanowski 2012-12-24 13:47:36 +01:00
commit 144343a7c6

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