fixed comment js. fadeToggle is only supported in jquery >= 1.4.4
This commit is contained in:
parent
948707ea23
commit
105c788bf8
1 changed files with 6 additions and 3 deletions
|
|
@ -119,9 +119,12 @@ var Stream = {
|
||||||
commentBlockMore.removeClass("hidden");
|
commentBlockMore.removeClass("hidden");
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
commentBlock.fadeToggle(150, function() {
|
if(commentBlock.hasClass("hidden")) {
|
||||||
commentBlock.toggleClass("hidden");
|
commentBlock.fadeIn(150);
|
||||||
});
|
}else{
|
||||||
|
commentBlock.hide();
|
||||||
|
}
|
||||||
|
commentBlock.toggleClass("hidden");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this.html(text.replace((show) ? "show" : "hide", (show) ? "hide" : "show"));
|
$this.html(text.replace((show) ? "show" : "hide", (show) ? "hide" : "show"));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue