1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Dynamic plugins: Fix registration of themes and languages

This commit is contained in:
Jeremy Ruston 2019-09-16 13:17:09 +01:00
parent 0017d441d9
commit 7f9823c5b2
2 changed files with 4 additions and 2 deletions

View File

@ -60,6 +60,8 @@ PluginSwitcher.prototype.switchPlugins = function() {
}
};
accumulatePlugin(selectedPluginTitle);
// Read the plugin info for the incoming plugins
var changes = $tw.wiki.readPluginInfo(plugins);
// Unregister any existing theme tiddlers
var unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);
// Register any new theme tiddlers

View File

@ -1,7 +1,7 @@
title: $:/config/RegisterPluginType/
plugin: yes
theme: yes
language: yes
theme: no
language: no
info: no
import: no