From a88108f5fe77df9a7d992e3da2d5a58b5542d8cd Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 5 Apr 2019 21:07:31 +0200 Subject: [PATCH] Update PluginRepo.plugin.js --- Plugins/PluginRepo/PluginRepo.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 2fdfec4e7a..92a1a5ad8a 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -706,7 +706,7 @@ class PluginRepo { var instPlugin = window.bdplugins[plugin.getName] ? window.bdplugins[plugin.getName].plugin : null; if (instPlugin && this.getString(instPlugin.getAuthor()).toUpperCase() == plugin.getAuthor.toUpperCase() && this.getString(instPlugin.getVersion()) != plugin.getVersion && PluginUpdates && PluginUpdates.plugins && !PluginUpdates.plugins[url]) outdated++; } - else { + else if (webview && typeof webview.getWebContents == "function") { webviewqueue.push({body, url}); runInWebview(); }