Skip to content

Commit 2414b24

Browse files
committed
remember non-redirect choice
1 parent 8a97e57 commit 2414b24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

themes/vue/source/js/v3-notice.js

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
const preferV3 = localStorage.getItem('prefer-v3')
1616
if (preferV3 === 'true') {
1717
location.href = `https://vuejs.org${finalUrl}`
18+
} else if (preferV3 === 'false') {
19+
return
1820
}
1921

2022
const today = new Date()

0 commit comments

Comments
 (0)