diff --git a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 index 8665e446899..c97573fb424 100644 --- a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 +++ b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 @@ -231,7 +231,7 @@ class PluginApi { * Example: * * ``` - * api.addToolbarPopupMenuOptionsCallback(function(controller) { + * api.addToolbarPopupMenuOptionsCallback(function() { * return { * action: 'toggleWhisper', * icon: 'eye-slash',