Fix plugin interface function.
This commit is contained in:
parent
ca4021c3a3
commit
5004ffc6f4
@ -596,8 +596,8 @@ export class Website
|
||||
|
||||
EnumeratePlugins (PluginType.Toolbar, (plugin) => {
|
||||
plugin.registerButtons ({
|
||||
createSeparator : (icon, title, classNames) => {
|
||||
AddSeparator (this.toolbar, icon, title, classNames);
|
||||
createSeparator : (classNames) => {
|
||||
AddSeparator (this.toolbar, classNames);
|
||||
},
|
||||
createButton : (icon, title, classNames, onClick) => {
|
||||
AddButton (this.toolbar, icon, title, classNames, onClick);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user