1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix lint error

This commit is contained in:
Baptiste Augrain
2018-11-08 14:41:25 +01:00
parent 2fc37d54f2
commit b6b29e02f3

View File

@@ -807,7 +807,7 @@ export default class MarkdownPreview extends React.Component {
}
handleResize () {
_.forEach(
_.forEach(
this.refs.root.contentWindow.document.querySelectorAll('svg[ratio]'),
el => {
el.setAttribute('height', el.clientWidth / el.getAttribute('ratio'))