[assets] Tweak comments.

This commit is contained in:
Fabien Basmaison 2021-04-07 07:53:30 +02:00
parent 44040201f9
commit 1c05107f2b

View file

@ -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}