PageSourceSearch

https://www.globaldownsyndrome.org/wp-content/themes/gdsf/js/comment-reply.js?ver=7.1.1

js globaldownsyndrome.org collected 2026-09-24 17:34:24 UTC 909 bytes, 48 lines download raw bytes

1
2addComment = {
3	moveForm : function(commId, parentId, respondId, postId) {
4		var t = this, div, comm = t.I(commId), respond = t.I(respondId), cancel = t.I('cancel-comment-reply-link'), parent = t.I('comment_parent'), post = t.I('comment_post_ID');
5
6		if ( ! comm || ! respond || ! cancel || ! parent )
7			return;
8
9		t.respondId = respondId;
10		
11		postId = postId || false;
12
13		if ( post && postId )
14			post.value = postId;
15		parent.value = parentId;
16
17		cancel.style.display = '';
18
19		cancel.onclick = function() {
20			var t = addComment;
21
22			if ( ! respond )
23				return;
24
25			t.I('comment_parent').value = '0';
26
27			this.style.display = 'none';
28			this.onclick = null;
29
30			try { t.I('comment').value = ''; }
31			catch(e) {}
32
33			return false;
34		}
35
36		try {
37			t.I('comment').value = "> ";
38			t.I('comment').focus();
39		}
40		catch(e) {}
41
42		return false;
43	},
44
45	I : function(e) {
46		return document.getElementById(e);
47	}
48}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.