Update src/components/views/messages/TextualBody.js
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
5ca9e8d323
commit
9db86a38f6
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ export default class TextualBody extends React.Component {
|
|||
}
|
||||
// Highlight code
|
||||
const codes = ReactDOM.findDOMNode(this).getElementsByTagName("code");
|
||||
if (codes.length >0) {
|
||||
if (codes.length > 0) {
|
||||
for (let i = 0; i < codes.length; i++) {
|
||||
/* Do this asynchronously: parsing code takes time and we don't
|
||||
* need to block the DOM update on it. */
|
||||
|
|
Loading…
Reference in a new issue