mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
We no longer pass it the controller.
This commit is contained in:
parent
adecdbee56
commit
a74291c91a
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class PluginApi {
|
|||
* Example:
|
||||
*
|
||||
* ```
|
||||
* api.addToolbarPopupMenuOptionsCallback(function(controller) {
|
||||
* api.addToolbarPopupMenuOptionsCallback(function() {
|
||||
* return {
|
||||
* action: 'toggleWhisper',
|
||||
* icon: 'eye-slash',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue