mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-19 21:34:27 +00:00
Fix bug with tiddler widget and a blank tiddler title
This commit is contained in:
1 parent
31b4f104e4
commit
93f7d8c028
1 file changed
+2
-2
@@ -193,11 +193,11 @@ exports.generateNewTitle = function(baseTitle,options) {
|
||||
};
|
||||
|
||||
exports.isSystemTiddler = function(title) {
|
||||
return title.indexOf("$:/") === 0;
|
||||
return title && title.indexOf("$:/") === 0;
|
||||
};
|
||||
|
||||
exports.isTemporaryTiddler = function(title) {
|
||||
return title.indexOf("$:/temp/") === 0;
|
||||
return title && title.indexOf("$:/temp/") === 0;
|
||||
};
|
||||
|
||||
exports.isImageTiddler = function(title) {
|
||||
|
||||
Reference in new issue
Block a user