Add a link for MKB's note

This commit is contained in:
redphx 2024-02-14 17:54:03 +07:00
parent 21f119e4eb
commit cf1d11185b

View File

@ -6736,7 +6736,10 @@ class Preferences {
'ready': () => { 'ready': () => {
const pref = Preferences.SETTINGS[Preferences.MKB_ENABLED]; const pref = Preferences.SETTINGS[Preferences.MKB_ENABLED];
const note = __(pref.unsupported ? 'browser-unsupported-feature' : 'mkb-disclaimer'); const note = __(pref.unsupported ? 'browser-unsupported-feature' : 'mkb-disclaimer');
Preferences.SETTINGS[Preferences.MKB_ENABLED].note = '⚠️ ' + note; Preferences.SETTINGS[Preferences.MKB_ENABLED].note = CE('a', {
href: 'https://github.com/redphx/better-xcloud/issues/206#issuecomment-1920475657',
target: '_blank',
}, '⚠️ ' + note);
}, },
}, },