$(obj).val('');
}
- function showHideComments(id) {
- if( $('#collapsed-comments-' + id).is(':visible')) {
- $('#collapsed-comments-' + id).hide();
- $('#hide-comments-' + id).html('$showmore');
- }
- else {
- $('#collapsed-comments-' + id).show();
- $('#hide-comments-' + id).html('$showfewer');
- }
- }
+ window.showMore = "$showmore";
+ window.showFewer = "$showfewer";
function showHideCommentBox(id) {
if( $('#comment-edit-form-' + id).is(':visible')) {