fix error class in XL
This commit is contained in:
parent
f9f63a1033
commit
5800444b08
|
@ -593,9 +593,9 @@ var XenoLib = (() => {
|
||||||
for (const type of renderContextMenus) {
|
for (const type of renderContextMenus) {
|
||||||
const module = WebpackModules.getByDisplayName(type);
|
const module = WebpackModules.getByDisplayName(type);
|
||||||
if (!module) {
|
if (!module) {
|
||||||
Logger.warn(`Failed to find ContextMenu type`, type);
|
Logger.warn(`Failed to find ContextMenu type`, type);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Patcher.after(module.prototype, 'render', (_this, _, ret) => handleContextMenu(_this, ret));
|
Patcher.after(module.prototype, 'render', (_this, _, ret) => handleContextMenu(_this, ret));
|
||||||
}
|
}
|
||||||
for (const menu of hookContextMenus) {
|
for (const menu of hookContextMenus) {
|
||||||
|
@ -655,7 +655,7 @@ var XenoLib = (() => {
|
||||||
const MultiInputClassname = XenoLib.joinClassNames(DiscordClasses.BasicInputs.input.value, XenoLib.getClass('multiInput'));
|
const MultiInputClassname = XenoLib.joinClassNames(DiscordClasses.BasicInputs.input.value, XenoLib.getClass('multiInput'));
|
||||||
const MultiInputFirstClassname = XenoLib.getClass('multiInputFirst');
|
const MultiInputFirstClassname = XenoLib.getClass('multiInputFirst');
|
||||||
const MultiInputFieldClassname = XenoLib.getClass('multiInputField');
|
const MultiInputFieldClassname = XenoLib.getClass('multiInputField');
|
||||||
const ErrorMessageClassname = XenoLib.getClass('input errorMessage');
|
const ErrorMessageClassname = XenoLib.getClass('errorMessage');
|
||||||
const ErrorClassname = XenoLib.getClass('input error');
|
const ErrorClassname = XenoLib.getClass('input error');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue