From 5800444b0874a01cecbac6f1c31154990cd7bb45 Mon Sep 17 00:00:00 2001 From: _Lighty_ Date: Sat, 8 Feb 2020 11:40:31 +0100 Subject: [PATCH] fix error class in XL --- Plugins/1XenoLib.plugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/1XenoLib.plugin.js b/Plugins/1XenoLib.plugin.js index d05cbc9..c9f956a 100644 --- a/Plugins/1XenoLib.plugin.js +++ b/Plugins/1XenoLib.plugin.js @@ -593,9 +593,9 @@ var XenoLib = (() => { for (const type of renderContextMenus) { const module = WebpackModules.getByDisplayName(type); if (!module) { - Logger.warn(`Failed to find ContextMenu type`, type); - continue; - } + Logger.warn(`Failed to find ContextMenu type`, type); + continue; + } Patcher.after(module.prototype, 'render', (_this, _, ret) => handleContextMenu(_this, ret)); } for (const menu of hookContextMenus) { @@ -655,7 +655,7 @@ var XenoLib = (() => { const MultiInputClassname = XenoLib.joinClassNames(DiscordClasses.BasicInputs.input.value, XenoLib.getClass('multiInput')); const MultiInputFirstClassname = XenoLib.getClass('multiInputFirst'); const MultiInputFieldClassname = XenoLib.getClass('multiInputField'); - const ErrorMessageClassname = XenoLib.getClass('input errorMessage'); + const ErrorMessageClassname = XenoLib.getClass('errorMessage'); const ErrorClassname = XenoLib.getClass('input error'); try {