[assets] Tweak comments.
This commit is contained in:
parent
44040201f9
commit
1c05107f2b
|
@ -177,8 +177,6 @@ let BookWyrm = new class {
|
||||||
/**
|
/**
|
||||||
* Show or hide menus.
|
* Show or hide menus.
|
||||||
*
|
*
|
||||||
* @note This function seems to be redundant and conflicts with toggleAction.
|
|
||||||
*
|
|
||||||
* @param {Event} event
|
* @param {Event} event
|
||||||
*
|
*
|
||||||
* @return {undefined}
|
* @return {undefined}
|
||||||
|
@ -222,6 +220,9 @@ let BookWyrm = new class {
|
||||||
/**
|
/**
|
||||||
* Give the focus to an element.
|
* Give the focus to an element.
|
||||||
*
|
*
|
||||||
|
* This is useful with modals: the focus needs to go back to the element that
|
||||||
|
* was focused before opening the modal.
|
||||||
|
*
|
||||||
* @param {string} nodeId - ID of the DOM node to focus (button, link…)
|
* @param {string} nodeId - ID of the DOM node to focus (button, link…)
|
||||||
*
|
*
|
||||||
* @return {undefined}
|
* @return {undefined}
|
||||||
|
|
Loading…
Reference in New Issue