Update TopRoleEverywhere.plugin.js
This commit is contained in:
parent
9f9ccf1f2f
commit
1bcab0d5ae
|
@ -4,7 +4,7 @@ var TopRoleEverywhere = (_ => {
|
||||||
return class TopRoleEverywhere {
|
return class TopRoleEverywhere {
|
||||||
getName () {return "TopRoleEverywhere";}
|
getName () {return "TopRoleEverywhere";}
|
||||||
|
|
||||||
getVersion () {return "3.0.1";}
|
getVersion () {return "3.0.2";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ var TopRoleEverywhere = (_ => {
|
||||||
|
|
||||||
openRoleContextMenu (e, role) {
|
openRoleContextMenu (e, role) {
|
||||||
BDFDB.LibraryModules.ContextMenuUtils.openContextMenu(e, function (e) {
|
BDFDB.LibraryModules.ContextMenuUtils.openContextMenu(e, function (e) {
|
||||||
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ContextMenus.DeveloperContextMenu, Object.assign({}, e, {id: role.id}));
|
return BDFDB.ReactUtils.createElement(BDFDB.ModuleUtils.findByName("DeveloperContextMenu"), Object.assign({}, e, {id: role.id}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue