mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Merge "Disable client preferences by default"
This commit is contained in:
commit
8a2da26eec
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue