mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 19:48:23 +02:00
* Moved themes from mods/art/themes > mods/themes/
This commit is contained in:
parent
4e2c21059a
commit
1a1dd53ca1
6 changed files with 4 additions and 3 deletions
|
@ -285,9 +285,9 @@ function getArt(name, options, cb) {
|
|||
if('' !== ext) {
|
||||
options.types = [ ext.toLowerCase() ];
|
||||
} else {
|
||||
if(typeof options.types === 'undefined') {
|
||||
if(_.isUndefined(options.types)) {
|
||||
options.types = Object.keys(SUPPORTED_ART_TYPES);
|
||||
} else if(typeof options.types === 'string') {
|
||||
} else if(_.isString(options.types)) {
|
||||
options.types = [ options.types.toLowerCase() ];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue