Skip to content
Snippets Groups Projects

Added correct comment

1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -139,16 +139,16 @@
}
/**
* Removes messages from the message area.
* Removes a message element from the message area.
*
* @name Drupal.Message~messageDefinition.remove
*
* @param {string} id
* Index of the message to remove, as returned by
* The unique identifier of the message to remove, as returned by
* {@link Drupal.Message~messageDefinition.add}.
*
* @return {number}
* Number of removed messages.
* @return {Element}
* Returns the removed message element.
*/
remove(id) {
return this.messageWrapper.removeChild(this.select(id));
Loading