Socket
Socket
Sign inDemoInstall

react-redux-toastr

Package Overview
Dependencies
6
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.4.4 to 7.4.5

9

lib/ToastrBox.js

@@ -162,4 +162,5 @@ 'use strict';

this.props.addToMemory(item.id);
//
this.closeButton.focus();
if (this.closeButton !== undefined) {
this.closeButton.focus();
}
};

@@ -174,3 +175,5 @@

setTimeout(function () {
document.getElementsByClassName('toastr-control')[0].focus();
if (document.getElementsByClassName('toastr-control').length > 0) {
document.getElementsByClassName('toastr-control')[0].focus();
}
}, 50);

@@ -177,0 +180,0 @@ };

@@ -75,3 +75,5 @@ 'use strict';

// when toast loads the toast close button automatically focuses on the toast control
this.closeButton.focus();
if (this.closeButton !== undefined) {
this.closeButton.focus();
}
};

@@ -83,3 +85,5 @@

setTimeout(function () {
document.getElementsByClassName('toastr-control')[0].focus();
if (document.getElementsByClassName('toastr-control').length > 0) {
document.getElementsByClassName('toastr-control')[0].focus();
}
}, 50);

@@ -86,0 +90,0 @@ };

{
"name": "react-redux-toastr",
"version": "7.4.4",
"version": "7.4.5",
"description": "react-redux-toastr is a React toastr message implemented with Redux",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc