Skip to content

Commit

Permalink
enable app
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed May 27, 2024
1 parent fc25a9f commit c70047e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nightly/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,9 @@ var app = {
}
})
}

// Enable app if no vars are loaded.
if (app.vars.total === 0) app.disable(false)
},

/**
Expand Down Expand Up @@ -1472,7 +1475,7 @@ var app = {
document.head.appendChild(script)
}

// Run vars evem if no modules are loaded.
// Run vars even if no modules are loaded.
if (app.modules.total === 0) app.assets.get.vars()
},

Expand Down

0 comments on commit c70047e

Please sign in to comment.