Skip to content

Commit 85dd7fa

Browse files
committed
fix typo
1 parent 285d61d commit 85dd7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/.vitepress/theme/VersionPicker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getBaseRepository = () => {
3131
if (typeof window === 'undefined') return ''; // Handle server-side rendering (SSR)
3232
const { origin, pathname } = window.location;
3333
// Check if it's a GitHub Pages (or similar) setup
34-
if (origin.includes('qutip.org')) || (origin.includes('github.io')) {
34+
if ((origin.includes('qutip.org')) || (origin.includes('github.io'))) {
3535
// Extract the first part of the path as the repository name
3636
const pathParts = pathname.split('/').filter(Boolean);
3737
const baseRepo = pathParts.length > 0 ? `/${pathParts[0]}/` : '/';

0 commit comments

Comments
 (0)