autoresize inputs
This commit is contained in:
parent
7e72a29401
commit
818af38bdf
2 changed files with 3 additions and 1 deletions
|
|
@ -419,9 +419,10 @@ var Publisher = {
|
|||
});
|
||||
Publisher.close();
|
||||
});
|
||||
|
||||
|
||||
Publisher.autocompletion.initialize();
|
||||
Publisher.hiddenInput().val(Publisher.input().val());
|
||||
Publisher.input().autoResize();
|
||||
Publisher.input().keydown(Publisher.autocompletion.keyDownHandler);
|
||||
Publisher.input().keyup(Publisher.autocompletion.keyUpHandler);
|
||||
Publisher.bindAjax();
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
commentInput: commentFormElement.find("textarea")
|
||||
});
|
||||
|
||||
self.commentInput.autoResize();
|
||||
self.commentInput.focus(self.showCommentForm);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue