Procházet zdrojové kódy

Replaces this.main.offsetWidth as 'offsetWidth'

Hilmi Erdem KEREN před 6 roky
rodič
revize
257f097952
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/pages/Account/Settings/Info.js

+ 1 - 1
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) {