mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 11:38:27 +02:00
+ stats.js: public APIs for accessing various system stats. Probably needs a better name
* Fix pause placement. Wait for all views ready before placing cursor such that the prompt will display in the right spot
This commit is contained in:
parent
4a342ba2fa
commit
44a0f87a24
5 changed files with 116 additions and 47 deletions
|
@ -152,7 +152,7 @@ function getThemeArt(name, themeID, options, cb) {
|
|||
options.random = miscUtil.valueWithDefault(options.random, true);
|
||||
options.basePath = paths.join(Config.paths.themes, themeID);
|
||||
|
||||
art.getArt(name, options, function onThemeArt(err, artInfo) {
|
||||
art.getArt(name, options, function onThemeArt(err, artInfo) {
|
||||
if(err) {
|
||||
// try fallback of art directory
|
||||
options.basePath = Config.paths.art;
|
||||
|
@ -227,7 +227,7 @@ function displayThemedPause(options, cb) {
|
|||
callback(new Error('Missing standard \'pause\' prompt'))
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
function displayPausePrompt(callback) {
|
||||
displayThemedAsset(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue