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

This commit is contained in:
Damyon Wiese
2013-08-05 09:50:44 +08:00
parent 25379e44ad
commit 36b58250b7
+1 -1
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() {