mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
[assets] Tweak comments.
This commit is contained in:
parent
44040201f9
commit
1c05107f2b
1 changed files with 3 additions and 2 deletions
|
@ -177,8 +177,6 @@ let BookWyrm = new class {
|
|||
/**
|
||||
* Show or hide menus.
|
||||
*
|
||||
* @note This function seems to be redundant and conflicts with toggleAction.
|
||||
*
|
||||
* @param {Event} event
|
||||
*
|
||||
* @return {undefined}
|
||||
|
@ -222,6 +220,9 @@ let BookWyrm = new class {
|
|||
/**
|
||||
* 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…)
|
||||
*
|
||||
* @return {undefined}
|
||||
|
|
Loading…
Reference in a new issue