rem: futuredisplaymode[cid] = 'full'; 
add: if (comment['points'] < threshold && (user_is_anon || user_uid != comment['uid'])) futuredisplaymode[cid] = 'hidden'; else if (comment['points'] < (user_highlightthresh - (root_comments_hash[cid] ? 1 : 0))) futuredisplaymode[cid] = 'oneline'; else futuredisplaymode[cid] = 'full'; 
context: function updateCommentTree(cid, threshold) {	setDefaultDisplayMode(cid);	var comment = comments[cid];	// skip the root comment, if it exists; leave it full, but let user collapse	// if he chooses, and leave it that way: this comment will not move with	// T/HT changes	if (threshold && cid != root_comment) {		if (comment['points'] < threshold && (user_is_anon || user_uid != comment['uid'])) {			futuredisplaymode[cid] = 'hidden';		} else if (comment['points'] < (user_highlightthresh - (root_comments_hash[cid] ? 1 : 0))) {			futuredisplaymode[cid] = 'oneline';		} else {			futuredisplaymode[cid] = 'full';		}		updateDisplayMode(cid, futuredisplaymode[cid], 1);	}	if (futuredisplaymode[cid] && futuredisplaymode[cid] != displaymode[cid]) { 		updateComment(cid, futuredisplaymode[cid]);	}	var kidhiddens = 0;	if (comment['kids'].length) {		for (var kiddie = 0; kiddie < comment['kids'].length; kiddie++) {			kidhiddens += updateCommentTree(comment['kids'][kiddie], threshold);		}	}	return kidHiddens(cid, kidhiddens);}
meta: 4674	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4674/4db15df16bdad2067093281ee2936b7e242a77ec/comments.js/buggy/themes/slashcode/htdocs/images/comments.js