resources/src/mediawiki.tempUserBanner/tempUserBanner.js
Function initTempUserBannerTooltip
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initTempUserBannerTooltip( $bannerEl, $tooltipEl, $buttonEl ) {
if ( !$bannerEl.length || !$tooltipEl.length || !$buttonEl.length ) {
return;
}
Function showTooltip
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showTooltip() {
return mw.loader.using( [
'codex-search-styles',
'oojs-ui-core',
'oojs-ui-widgets',