From 4176de13013d502b4b94701c6a64b42729a4a898 Mon Sep 17 00:00:00 2001 From: marcustyphoon Date: Tue, 3 Dec 2024 19:57:49 -0800 Subject: [PATCH] Eslint 8 fix (#2173) --- Extensions/xkit_patches.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extensions/xkit_patches.js b/Extensions/xkit_patches.js index 87ec9a283..e3e76eda9 100644 --- a/Extensions/xkit_patches.js +++ b/Extensions/xkit_patches.js @@ -3114,7 +3114,7 @@ XKit.extensions.xkit_patches = new Object({ $("#xkit_notification_" + m_notification_id).slideDown('slow'); }, 100); $("#xkit_notification_" + m_notification_id).click(function() { - if (typeof callback !== undefined) { + if (typeof callback !== "undefined") { try { callback(); } catch (e) {