mirror of https://github.com/vector-im/riot-web
Markdown: Use .call instead of .bind
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>pull/21833/head
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…
Reference in New Issue