mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 21:06:56 +00:00
Fixed issues with blank tiddler text
The empty string is falsy in JavaScript, to keep us on our toes.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user