We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d88036 commit efb602bCopy full SHA for efb602b
src/language-toggle.js
@@ -8,7 +8,8 @@
8
*
9
* How it works:
10
* 1. Click listener detects language toggle clicks and stores current URL+hash
11
- * 2. MutationObserver detects when Mintlify's client-side routing changes the path
+ * 2. History API interception (pushState/replaceState) and popstate/hashchange
12
+ * listeners detect when Mintlify's client-side routing changes the path
13
* 3. On path change, check if we're switching languages and redirect to equivalent page
14
*/
15
0 commit comments