mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-23 18:38:18 +00:00
Merge "Fix some typos in doc comments"
This commit is contained in:
commit
ef13ceb9aa
|
@ -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 ) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue