diff options
author | fox <[email protected]> | 2018-12-03 05:03:55 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-12-03 05:03:55 +0000 |
commit | 5bcf59739d18569823ae1a7f6323ba41f0d2774a (patch) | |
tree | df542007e9fe12555aa0a9c548ca99afb6cb0d17 | |
parent | d3f31de0429c2679fb856d4e48fcf959e61dfcc8 (diff) | |
parent | b83ed6c7c46257b5e1da3b99976d17aabcb657b1 (diff) |
Merge branch 'const-PluginHost' of wn/tt-rss into js-objects
-rw-r--r-- | js/AppBase.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/AppBase.js b/js/AppBase.js index 1721f0905..ce040e8c9 100644 --- a/js/AppBase.js +++ b/js/AppBase.js @@ -346,7 +346,8 @@ define(["dojo/_base/declare"], function (declare) { } // PluginHost might not be available on non-index pages - window.PluginHost && PluginHost.run(PluginHost.HOOK_PARAMS_LOADED, App._initParams); + if (typeof PluginHost !== 'undefined') + PluginHost.run(PluginHost.HOOK_PARAMS_LOADED, App._initParams); } this.initSecondStage(); |