From 8d4c7950041c4ccb7eb878679b03b051127218c8 Mon Sep 17 00:00:00 2001 From: gurpreetsinghmatharoo Date: Fri, 25 Oct 2024 11:34:51 +0530 Subject: [PATCH] docs(general): potential fix for context view language switcher clicks --- Manual/contents/assets/scripts/main_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Manual/contents/assets/scripts/main_script.js b/Manual/contents/assets/scripts/main_script.js index f07255d3c..f3f6bf340 100644 --- a/Manual/contents/assets/scripts/main_script.js +++ b/Manual/contents/assets/scripts/main_script.js @@ -2681,7 +2681,7 @@ if (existingSelectList == undefined) { window.parent.location.href = url; } // end if else { - const folders = window.location.pathname.split("/"); + const folders = window.parent.location.pathname.split("/"); if (folders.length >= 3) { folders[2] = entry.code; } // end if