Merge pull request #1159 from jitsi/non-focusable-close-toastr

Makes close button non-focusable.
pull/1163/head 1520
hristoterezov 8 years ago committed by GitHub
commit 56f15356c7
  1. 4
      modules/UI/UI.js
  2. 2
      modules/UI/util/MessageHandler.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>'
};
}

@ -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) {

Loading…
Cancel
Save