You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Markdown: Use .call instead of .bind
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
@@ -72,7 +72,7 @@ export default class Markdown {
|
|||||||
par = par.parent
|
par = par.parent
|
||||||
}
|
}
|
||||||
if (par.firstChild != par.lastChild) {
|
if (par.firstChild != par.lastChild) {
|
||||||
real_paragraph.bind(this)(node, entering);
|
real_paragraph.call(this, node, entering);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user