mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix lint error
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user