From fd98ac4dd85dbac40fc8b74da01c50d03556d9dc Mon Sep 17 00:00:00 2001 From: Arpit Jain <3242828+arpitjain099@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:29:40 +0900 Subject: [PATCH] Fix code scanning alert no. 2: DOM text reinterpreted as HTML Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .../Bot.Web/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/End_to_end_Solutions/AOAIVirtualAssistant/src/botwebapp/Bot.Web/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js b/End_to_end_Solutions/AOAIVirtualAssistant/src/botwebapp/Bot.Web/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js index 5f84d461..18c6b32a 100644 --- a/End_to_end_Solutions/AOAIVirtualAssistant/src/botwebapp/Bot.Web/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js +++ b/End_to_end_Solutions/AOAIVirtualAssistant/src/botwebapp/Bot.Web/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js @@ -1073,7 +1073,7 @@ return; } - var target = $(selector)[0]; + var target = $.find(selector)[0]; if (!target || !$(target).hasClass(ClassName$2.CAROUSEL)) { return;