king
2025-02-11 aa15f061ba185b05f22c98a0a979c72d08bcd974
src/tabviews/home/index.jsx
@@ -16,7 +16,7 @@
  state = {
    loading: true,
    background: sessionStorage.getItem('home_background'),
    background: sessionStorage.getItem('home_background') || 'unset',
    waiting: true,
    view: ''
  }
@@ -39,11 +39,11 @@
  check = (times) => {
    times++
    if ((window.GLOB.mkThdMenus.length > 0 && window.GLOB.mkActions.loaded) || times > 50) {
    if ((window.GLOB.mkThdMenus.size > 0 && window.GLOB.mkActions.loaded) || times > 50) {
      this.setState({
        waiting: false
      })
    } else {
    } else if (!window.GLOB.$error) {
      setTimeout(() => {
        this.check(times)
      }, 200)