mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 09:50:24 +00:00
Add check for point at first or last element
This commit is contained in:
@@ -20,6 +20,9 @@ var listNames = [];
|
||||
db.getCollectionNames(function(e, d) {
|
||||
for(var i = 0; i < d.length; i++) {
|
||||
if(d[i].indexOf("_") < 0) {
|
||||
if(d[i].length > 0) {
|
||||
if(d[i].substring(0, 1) == "." || d[i].substring(d[i].length - 1) == ".") continue;
|
||||
}
|
||||
listNames.push(d[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user