Browse Source

Replaces this.main.offsetWidth as 'offsetWidth'

pull/4115/head
Hilmi Erdem KEREN 7 years ago
committed by 偏右
parent
commit
257f097952
  1. 2
      src/pages/Account/Settings/Info.js

2
src/pages/Account/Settings/Info.js

@ -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) {

Loading…
Cancel
Save