MDL-35981 comments: Add comment about keycodes for space and enter.
authorDamyon Wiese <damyon@moodle.com>
Fri, 2 Aug 2013 03:42:15 +0000 (11:42 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 2 Aug 2013 03:42:45 +0000 (11:42 +0800)
comment/comment.js

index ea19518..6c0e310 100644 (file)
@@ -301,6 +301,7 @@ M.core_comment = {
                                 scope.dodelete(commentid[1]);
                             }
                         }, '13,32');
+                        // 13 and 32 are the keycodes for space and enter.
                     }
                 );
             },