kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix crash when wiki/themes folder contains files that are not themes
Fixes #370print-window-tiddler
rodzic
3b255561b7
commit
175e86078c
|
@ -1256,7 +1256,7 @@ $tw.loadPluginFolder = function(filepath,excludeRegExp) {
|
|||
}
|
||||
}
|
||||
// Give the plugin the same version number as the core if it doesn't have one
|
||||
if(!("version" in pluginInfo)) {
|
||||
if(pluginInfo && !("version" in pluginInfo)) {
|
||||
pluginInfo.version = $tw.packageInfo.version;
|
||||
}
|
||||
// Save the plugin tiddler
|
||||
|
|
Ładowanie…
Reference in New Issue