mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-27 04:11:55 -08:00
Fixed issue #46
This commit is contained in:
parent
46a1dd662c
commit
072c06b412
1 changed files with 6 additions and 1 deletions
|
|
@ -22,7 +22,12 @@ exports.info = {
|
|||
};
|
||||
|
||||
exports.getList = function(title) {
|
||||
return this.wiki.getTextReference(title,"").split("\n");
|
||||
var text = this.wiki.getTextReference(title,"");
|
||||
if(text && text.length > 0) {
|
||||
return text.split("\n");
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
|
||||
exports.saveList = function(title,list) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue