mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-35981 comments: Fix for keyboard control of "add a comment"
This commit is contained in:
parent
fe1c01e751
commit
31d861d19b
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ M.core_comment = {
|
||||||
if (ta) {
|
if (ta) {
|
||||||
//toggle_textarea.apply(ta, [false]);
|
//toggle_textarea.apply(ta, [false]);
|
||||||
//// reset textarea size
|
//// reset textarea size
|
||||||
ta.on('click', function() {
|
ta.on('focus', function() {
|
||||||
this.toggle_textarea(true);
|
this.toggle_textarea(true);
|
||||||
}, this);
|
}, this);
|
||||||
//ta.onkeypress = function() {
|
//ta.onkeypress = function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue