mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
We no longer pass it the controller.
This commit is contained in:
@ -231,7 +231,7 @@ class PluginApi {
|
|||||||
* Example:
|
* Example:
|
||||||
*
|
*
|
||||||
* ```
|
* ```
|
||||||
* api.addToolbarPopupMenuOptionsCallback(function(controller) {
|
* api.addToolbarPopupMenuOptionsCallback(function() {
|
||||||
* return {
|
* return {
|
||||||
* action: 'toggleWhisper',
|
* action: 'toggleWhisper',
|
||||||
* icon: 'eye-slash',
|
* icon: 'eye-slash',
|
||||||
|
Reference in New Issue
Block a user