- $(document).unbind( "click.commentOpen", handler );
-
- var handler = function() {
- if (obj.value == '') {
- $("#comment-edit-text-" + id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty");
- // Choose an arbitrary tab index that's greater than what we're using in jot (3 of them)
- // The submit button gets tabindex + 1
- $("#comment-edit-text-" + id).attr('tabindex','9');
- $("#comment-edit-submit-" + id).attr('tabindex','10');
- $("#comment-edit-submit-wrapper-" + id).show();
- // initialize autosize for this comment
- autosize($("#comment-edit-text-" + id + ".text-autosize"));
- }
- };
-
- $(document).bind( "click.commentOpen", handler );
+ $("#comment-edit-text-" + id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty");
+ // Choose an arbitrary tab index that's greater than what we're using in jot (3 of them)
+ // The submit button gets tabindex + 1
+ $("#comment-edit-text-" + id).attr('tabindex','9');
+ $("#comment-edit-submit-" + id).attr('tabindex','10');
+ $("#comment-edit-submit-wrapper-" + id).show();
+ // initialize autosize for this comment
+ autosize($("#comment-edit-text-" + id + ".text-autosize"));