mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-13 00:16:17 +02:00
Markdown: Use .call instead of .bind
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
parent
4d2926485b
commit
5f160d2e7f
@ -72,7 +72,7 @@ export default class Markdown {
|
||||
par = par.parent
|
||||
}
|
||||
if (par.firstChild != par.lastChild) {
|
||||
real_paragraph.bind(this)(node, entering);
|
||||
real_paragraph.call(this, node, entering);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user