<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(document).ready(function(){
	$.commentTopic.getComment();
});

(function($){
	$.commentTopic = {};
	$.commentTopic.getComment = function (){
		var pathArray = window.location.pathname.split( '/' );
		/* à¸ˆà¸³à¹€à¸›à¹‡à¸™à¸•à¹‰à¸­à¸‡ if à¹€à¸žà¸£à¸²à¸°à¸à¸±à¸™à¸„à¸™à¹ƒà¸ªà¹ˆà¸¡à¸²à¸¡à¸±à¹ˆà¸§ à¹† à¸ˆà¸°à¹„à¸”à¹‰à¸•à¸£à¸§à¸ˆà¸ªà¸­à¸šà¸‡à¹ˆà¸²à¸¢à¹† */
		var param = (pathArray[3] != undefined) ? pathArray[3] : '';
		/* à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡ if à¹€à¸žà¸£à¸²à¸°à¸–à¹‰à¸²à¹ƒà¸ªà¹ˆ id à¸œà¸´à¸” à¸à¹‡à¹à¸ªà¸”à¸‡à¸«à¸™à¹‰à¸² 404 */
		var id = pathArray[2];
		var type = $('#topic-type').val();
		$.ajax({
			type: "GET",
			cache: false,
			url : "/forum/topic_mode/render_comments?tid="+id+"&amp;param="+param+"&amp;type="+type+"&amp;time="+Math.random(),
			dataType : 'json',
			success : function(rs)
			{
				/* Render comments */
				$('#comments-jsrender').html(
					$('#comment-story-mode-tmpl').render(rs.comments)
				);

				/* à¹€à¸žà¸·à¹ˆà¸­à¹ƒà¸«à¹‰ à¸•à¸´à¸”à¸à¸±à¸š comment count */
				$('.section-comment:first').addClass('first');
				$('abbr.timeago').timeago();
			}
		});
	}
})(jQuery);
</pre></body></html>