forked from matrix/element-web
argh javascript
This commit is contained in:
parent
383a958abe
commit
1df8e65cdf
|
@ -59,7 +59,7 @@ var handlers = {
|
|||
};
|
||||
|
||||
module.exports = {
|
||||
textForEvent(ev) {
|
||||
textForEvent: function(ev) {
|
||||
var hdlr = handlers[ev.getType()];
|
||||
if (!hdlr) return "";
|
||||
return hdlr(ev);
|
||||
|
|
Loading…
Reference in New Issue