mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Rmove unnecessary code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
024871f59d
commit
986950697b
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ export default class TextualBody extends React.Component {
|
|||
_addCodeElement(pre) {
|
||||
const code = document.createElement("code");
|
||||
code.append(...pre.childNodes);
|
||||
pre.innerHTML = "";
|
||||
pre.appendChild(code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue