diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 4525e326a..a0314a704 100644 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -759,7 +759,7 @@ exports.getTiddlerText = function(title) { if(!tiddler) { return undefined; } - if(tiddler.fields.text) { + if(tiddler.fields.text !== undefined) { // Just return the text if we've got it return tiddler.fields.text; } else { diff --git a/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js b/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js index 13f5a2df4..2ece83f28 100644 --- a/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js +++ b/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js @@ -251,7 +251,7 @@ TiddlyWebSyncer.prototype.syncFromServer = function() { // Ignore the incoming tiddler if it's the same as the revision we've already got if(currRevision !== incomingRevision) { // Do a full load if we've already got a fat version of the tiddler - if(tiddler && tiddler.fields.text) { + if(tiddler && tiddler.fields.text !== undefined) { // Do a full load of this tiddler self.enqueueSyncTask({ type: "load",