Merge "Disable client preferences by default"

This commit is contained in:
jenkins-bot 2023-09-19 20:23:29 +00:00 committed by Gerrit Code Review
commit 8a2da26eec
2 changed files with 5 additions and 2 deletions

View file

@ -105,6 +105,9 @@ function makeClientPreference( featureName ) {
*/
function fillClientPreferencesDropdown() {
const dropdownContents = document.querySelectorAll( '#vector-client-prefs .vector-dropdown-content' )[ 0 ];
if ( !dropdownContents ) {
return;
}
getClientPreferences().forEach( ( pref ) => {
const prefNode = makeClientPreference( pref );
if ( prefNode ) {

View file

@ -533,8 +533,8 @@
"config": {
"VectorClientPreferences": {
"value": {
"logged_in": true,
"logged_out": true
"logged_in": false,
"logged_out": false
},
"description": "@var array enables a client preferences interface."
},