Archived
1
0

add more logging

This commit is contained in:
Jeff Becker 2017-01-16 14:20:46 -05:00
parent ba5801f920
commit 2885ebee81

View File

@ -128,6 +128,7 @@ ReplyBox.prototype.reload = function() {
} }
ReplyBox.prototype.show = function(info) { ReplyBox.prototype.show = function(info) {
console.log("reply box show for "+info.reference);
var self = this; var self = this;
$(self.elem).css("display", "inline-block"); $(self.elem).css("display", "inline-block");
self.submit.onclick = function(ev) { self.submit.onclick = function(ev) {
@ -169,7 +170,6 @@ onready(function(){
elem: elem elem: elem
}; };
var elems = elem.getElementsByClassName("postreply"); var elems = elem.getElementsByClassName("postreply");
console.log(elems);
if(elems && elems[0]) { if(elems && elems[0]) {
var e = elems[0].children[1]; var e = elems[0].children[1];
console.log("inject reply box into "+e); console.log("inject reply box into "+e);