Merge pull request #1159 from jitsi/non-focusable-close-toastr
Makes close button non-focusable.
This commit is contained in:
commit
56f15356c7
|
@ -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">×</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…
Reference in New Issue