From 794dfb96f219292b5074e6f5282e7d6e71bd615d Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Fri, 23 Oct 2020 15:37:20 +0100 Subject: [PATCH] Don't try to process lazily loaded plugins Fixes #4900 --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 24f7c7d79..969a8c567 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -1272,7 +1272,7 @@ $tw.Wiki = function(options) { $tw.utils.each(titles || getTiddlerTitles(),function(title) { var tiddler = tiddlers[title]; if(tiddler) { - if(tiddler.fields.type === "application/json" && tiddler.hasField("plugin-type")) { + if(tiddler.fields.type === "application/json" && tiddler.hasField("plugin-type") && tiddler.fields.text) { pluginInfo[tiddler.fields.title] = JSON.parse(tiddler.fields.text); results.modifiedPlugins.push(tiddler.fields.title); }