MDL-35981 comments: Fix for keyboard control of "add a comment"

This commit is contained in:
Damyon Wiese 2013-08-05 09:49:38 +08:00
parent fe1c01e751
commit 31d861d19b

View file

@ -354,7 +354,7 @@ M.core_comment = {
if (ta) {
//toggle_textarea.apply(ta, [false]);
//// reset textarea size
ta.on('click', function() {
ta.on('focus', function() {
this.toggle_textarea(true);
}, this);
//ta.onkeypress = function() {