Skip to content

Commit b2b5483

Browse files
committed
Update JSDoc comments in switchers.js
1 parent cc4f553 commit b2b5483

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: templates/switchers.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const _navigate_to_first_existing = async (urls) => {
104104
};
105105

106106
/**
107-
* Callback for the version switcher.
107+
* Navigate to the selected version.
108108
* @param {Event} event
109109
* @returns {void}
110110
* @private
@@ -135,7 +135,7 @@ const _on_version_switch = async (event) => {
135135
};
136136

137137
/**
138-
* Callback for the language switcher.
138+
* Navigate to the selected language.
139139
* @param {Event} event
140140
* @returns {void}
141141
* @private
@@ -161,7 +161,7 @@ const _on_language_switch = async (event) => {
161161
};
162162

163163
/**
164-
* Initialisation function for the version and language switchers.
164+
* Set up the version and language switchers.
165165
* @returns {void}
166166
* @private
167167
*/

0 commit comments

Comments
 (0)