mirror of https://github.com/vector-im/riot-web
Rmove unnecessary code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
024871f59d
commit
986950697b
|
@ -135,7 +135,6 @@ export default class TextualBody extends React.Component {
|
||||||
_addCodeElement(pre) {
|
_addCodeElement(pre) {
|
||||||
const code = document.createElement("code");
|
const code = document.createElement("code");
|
||||||
code.append(...pre.childNodes);
|
code.append(...pre.childNodes);
|
||||||
pre.innerHTML = "";
|
|
||||||
pre.appendChild(code);
|
pre.appendChild(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue