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.
2 parents a145f2c + a46ee18 commit 2aa009bCopy full SHA for 2aa009b
1 file changed
docs/js/navbar-search.js
@@ -1,3 +1,5 @@
1
+var defaultVersion = '6.x';
2
+
3
(function() {
4
var versionFromUrl = window.location.pathname.match(/^\/docs\/(\d+\.x)/);
5
var version = versionFromUrl ? versionFromUrl[1] : defaultVersion;
0 commit comments