mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-12 23:54:38 +02:00
* Code cleanup + comments
* Fix message area access in NUA path
This commit is contained in:
parent
e36507fec1
commit
549fba6b34
6 changed files with 56 additions and 68 deletions
|
@ -53,7 +53,7 @@ function getDefaultMessageArea() {
|
|||
function getMessageAreaByName(areaName) {
|
||||
areaName = areaName.toLowerCase();
|
||||
|
||||
var availAreas = getAvailableMessageAreas();
|
||||
var availAreas = getAvailableMessageAreas( { includePrivate : true } );
|
||||
var index = _.findIndex(availAreas, function pred(an) {
|
||||
return an.name == areaName;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue