diff --git a/src/app/panels/righthand-panel.js b/src/app/panels/righthand-panel.js index 3f80cc6b7d..ccea3687f6 100644 --- a/src/app/panels/righthand-panel.js +++ b/src/app/panels/righthand-panel.js @@ -160,7 +160,7 @@ function RighthandPanel (appAPI, events, opts) { self.pluginManager = new PluginManager(appAPI, events) events.rhp.register('plugin-loadRequest', (json) => { - var content = pluginTab(optionViews, {}, {}, {}, json.url) + var content = pluginTab(optionViews, json.url) this._view.tabbedMenu.addTab(json.title, 'plugin', content) self.pluginManager.register(json, content) }) diff --git a/src/app/tabs/plugin-tab.js b/src/app/tabs/plugin-tab.js index 37361ec0a0..74b4f31045 100644 --- a/src/app/tabs/plugin-tab.js +++ b/src/app/tabs/plugin-tab.js @@ -1,7 +1,7 @@ var yo = require('yo-yo') var css = require('./styles/plugin-tab-styles') -function plugintab (container, appAPI, events, opts, url) { +function plugintab (container, url) { var el = yo`