Fix some documentation warnings

Change-Id: I7a97c99a919796f987a05ba17e25357fb5ef14c5
This commit is contained in:
Ed Sanders 2024-06-21 16:18:36 +01:00
parent 61879d1369
commit 66fb3e661a
2 changed files with 9 additions and 1 deletions

View file

@ -250,7 +250,14 @@ ve.ce.MWReferencesListNode.prototype.update = function () {
};
/**
* Render a reference list item
*
* @private
* @param {Object} nodes Node group object, containing nodes and key order array
* @param {ve.dm.InternalList} internalList Internal list
* @param {string} refGroup Reference group
* @param {number} index Item index
* @return {jQuery} List item
*/
ve.ce.MWReferencesListNode.prototype.renderListItem = function ( nodes, internalList, refGroup, index ) {
const key = internalList.keys[ index ];

View file

@ -3,7 +3,8 @@ import * as helpers from './functions.helper.js';
export function setVECookiesToDisableDialogs() {
cy.window().then( async ( win ) => {
win.localStorage.setItem( 've-beta-welcome-dialog', 1 );
// don't show the VE education popups with the blue pulsating dots (ve.ui.MWEducationPopupWidget)
// Don't show the VE education popups with the blue
// pulsating dots (ve.ui.MWEducationPopupWidget)
win.localStorage.setItem( 've-hideusered', 1 );
} );
}