Merge "Fix some typos in doc comments"

This commit is contained in:
jenkins-bot 2022-01-10 16:50:14 +00:00 committed by Gerrit Code Review
commit ef13ceb9aa
2 changed files with 4 additions and 4 deletions

View file

@ -260,7 +260,7 @@ function getCheckboxesPromise( pageName, oldId ) {
* Update a subscribe button
*
* @param {HTMLElement} element Subscribe button
* @param {number} state State constant (STATE_UNSUBSCRIBED, STATE_SUBSCRIBED or STATE_AUTOSUBSCRIBED)
* @param {number|null} state State constant (STATE_UNSUBSCRIBED, STATE_SUBSCRIBED or STATE_AUTOSUBSCRIBED)
*/
function updateSubscribeButton( element, state ) {
if ( state !== null ) {
@ -342,7 +342,7 @@ function initTopicSubscriptions( $container ) {
}
/**
* Show the first time popup for auto topic subscriptsions, if required
* Show the first time popup for auto topic subscriptions, if required
*/
function maybeShowFirstTimeAutoTopicSubPopup() {
if ( !lastHighlightComment || seenAutoTopicSubPopup ) {

View file

@ -306,7 +306,7 @@ ReplyWidget.prototype.focus = null;
ReplyWidget.prototype.getValue = null;
/**
* Check if the reply widget is empy
* Check if the reply widget is empty
*
* @method
* @return {boolean}
@ -549,7 +549,7 @@ ReplyWidget.prototype.setup = function ( data ) {
};
/**
* Perform additional actions once the widget has been setup as is ready for input
* Perform additional actions once the widget has been setup and is ready for input
*/
ReplyWidget.prototype.afterSetup = function () {
// Init preview and button state