mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
We no longer pass it the controller.
This commit is contained in:
parent
adecdbee56
commit
a74291c91a
@ -231,7 +231,7 @@ class PluginApi {
|
||||
* Example:
|
||||
*
|
||||
* ```
|
||||
* api.addToolbarPopupMenuOptionsCallback(function(controller) {
|
||||
* api.addToolbarPopupMenuOptionsCallback(function() {
|
||||
* return {
|
||||
* action: 'toggleWhisper',
|
||||
* icon: 'eye-slash',
|
||||
|
Loading…
x
Reference in New Issue
Block a user