Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Makes close button non-focusable.

damenchob5dfc2a520b4
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index c5bc35eec3..42d1658594 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -474,7 +474,9 @@ UI.start = function () {
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut",
- "newestOnTop": false
+ "newestOnTop": false,
+ // this is the default toastr close button html, just adds tabIndex
+ "closeHtml": '<button type="button" tabIndex="-1">&times;</button>'
};
}
diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js
index 85029bfc39..916e4d93fc 100644
--- a/modules/UI/util/MessageHandler.js
+++ b/modules/UI/util/MessageHandler.js
@@ -439,7 +439,7 @@ var messageHandler = {
* @param messageKey the key from the language file for the text of the
* message.
* @param messageArguments object with the arguments for the message.
- * @param options object with language options.
+ * @param options passed to toastr (e.g. timeOut)
*/
notify: function(displayName, displayNameKey, cls, messageKey,
messageArguments, options) {