diff --git a/resources/js/ext.uls.displaysettings.js b/resources/js/ext.uls.displaysettings.js index b3d45ab7..edb44837 100644 --- a/resources/js/ext.uls.displaysettings.js +++ b/resources/js/ext.uls.displaysettings.js @@ -141,6 +141,7 @@ $( '
' ).append( $( '' ) .addClass( 'uls-display-settings-anon-label' ) + // .html() is needed for correct parsing of the nbsp .html( $.i18n( 'ext-uls-display-settings-anon-label' ) + ' ' ), $( '' ) .text( $.i18n( 'ext-uls-display-settings-anon-same-as-content', autonym ) ) @@ -152,7 +153,7 @@ .done( function ( parsedCta ) { var deferred = new $.Deferred(); - $loginCta.html( parsedCta ); + $loginCta.html( parsedCta ); // The parsed CTA is HTML $loginCta.find( 'a' ).click( function ( event ) { event.preventDefault(); // Because browsers navigate away when clicking a link, @@ -289,8 +290,8 @@ mw.uls.addEventLoggingTriggers(); if ( !displaySettings.$parent.$window.hasClass( 'callout' ) ) { - // callout menus will have position rules. others use - // default position + // Callout menus will have position rules. + // Others use the default position. return; } @@ -418,7 +419,9 @@ } } ); - $systemFont = $( '