From 4e3d07b16afc4d4b9375f4e070b9e2f559a89e57 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 22 Feb 2025 10:19:57 +0000 Subject: [PATCH] Code typo --- core/modules/utils/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/utils/plugins.js b/core/modules/utils/plugins.js index 782d96b36..da8ef0ee3 100644 --- a/core/modules/utils/plugins.js +++ b/core/modules/utils/plugins.js @@ -25,7 +25,7 @@ exports.installPluginChangeHandler = function(wiki) { var tiddler = wiki.getTiddler(title); if(tiddler) { // It is a plugin that has been added or modified and is of a type that we need to register - if(tiddler.isPlugin() && $tw.wiki.getTiddlerText(PREFIX_CONFIG_REGISTER_PLUGIN_TYPE + (tiddler.fields["plugin-type"] || ""),"no") === "yes") { + if(tiddler.isPlugin() && wiki.getTiddlerText(PREFIX_CONFIG_REGISTER_PLUGIN_TYPE + (tiddler.fields["plugin-type"] || ""),"no") === "yes") { changesToProcess.push(title); } } else {