Skip to content

Commit 3767585

Browse files
committed
UI Bug Fix: User Prefs: Steamer mode was showing raw HTML tags in the button label.
1 parent 3b5e97a commit 3767585

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

htdocs/js/pages/user/MySettings.class.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,12 @@ Page.MySettings = class MySettings extends Page.Base {
246246
label: 'Privacy:',
247247
content: this.getFormCheckbox({
248248
id: 'fe_ms_privacy',
249-
label: '<span data-private>Streamer Mode</span>',
249+
label: 'Streamer Mode',
250250
checked: !!user.privacy_mode,
251251
onChange: '$P().previewPrivacyMode(this)'
252252
}),
253-
caption: 'Enable or disable streamer mode, which hides sensitive information such as IP addresses, hostnames, usernames, full names, and email addresses.'
253+
caption: 'Enable or disable streamer mode, which hides sensitive information such as IP addresses, hostnames, usernames, full names, and email addresses.',
254+
'data-private': ''
254255
});
255256

256257
html += '</div>'; // box_content

0 commit comments

Comments
 (0)