Commit 257f0979 authored by Hilmi Erdem KEREN's avatar Hilmi Erdem KEREN Committed by 偏右

Replaces this.main.offsetWidth as 'offsetWidth'

parent c8ea5979
......@@ -81,7 +81,7 @@ class Info extends Component {
requestAnimationFrame(() => {
let mode = 'inline';
const { offsetWidth } = this.main;
if (this.main.offsetWidth < 641 && offsetWidth > 400) {
if (offsetWidth < 641 && offsetWidth > 400) {
mode = 'horizontal';
}
if (window.innerWidth < 768 && offsetWidth > 400) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment