Update WidgetUtils.js

Fix fixed comment
This commit is contained in:
David Baker 2018-06-14 13:49:23 +01:00 committed by GitHub
parent 36574ca0fb
commit 3e6b3215cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ export default class WidgetUtils {
* @param {string} widgetId The ID of the widget to wait for * @param {string} widgetId The ID of the widget to wait for
* @param {boolean} add True to wait for the widget to be added, * @param {boolean} add True to wait for the widget to be added,
* false to wait for it to be deleted. * false to wait for it to be deleted.
* @returns {Promise} that resolves when the widget is the the * @returns {Promise} that resolves when the widget is in the
* requested state according to the `add` param * requested state according to the `add` param
*/ */
static waitForUserWidget(widgetId, add) { static waitForUserWidget(widgetId, add) {
@ -147,7 +147,7 @@ export default class WidgetUtils {
* @param {string} roomId The ID of the room to wait for the widget in * @param {string} roomId The ID of the room to wait for the widget in
* @param {boolean} add True to wait for the widget to be added, * @param {boolean} add True to wait for the widget to be added,
* false to wait for it to be deleted. * false to wait for it to be deleted.
* @returns {Promise} that resolves when the widget is the the * @returns {Promise} that resolves when the widget is in the
* requested state according to the `add` param * requested state according to the `add` param
*/ */
static waitForRoomWidget(widgetId, roomId, add) { static waitForRoomWidget(widgetId, roomId, add) {