1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-22 22:10:03 +00:00

Fix bug in navigator

This commit is contained in:
Jermolene 2014-11-07 21:15:52 +00:00
parent e2a7b35211
commit ec4beb7f0f

View File

@ -388,7 +388,7 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
if(typeof event.param === "object") { // Backwards compatibility with 5.1.3
additionalFields = event.param;
}
if(additionalFields.title) {
if(additionalFields && additionalFields.title) {
title = additionalFields.title;
}
// Generate a title if we don't have one