react-redux-toastr
Advanced tools
Comparing version 7.6.2 to 7.6.3
@@ -61,3 +61,3 @@ "use strict"; | ||
_defineProperty(_assertThisInitialized(_this), "handlePressEnterOrSpaceKeyToastr", function (e) { | ||
if (e.key === ' ' || e.key === 'enter') { | ||
if (e.key === ' ' || e.key === 'Enter') { | ||
_this.handleClickToastr(e); | ||
@@ -68,3 +68,3 @@ } | ||
_defineProperty(_assertThisInitialized(_this), "handlePressEnterOrSpaceKeyCloseButton", function (e) { | ||
if (e.key === ' ' || e.key === 'enter') { | ||
if (e.key === ' ' || e.key === 'Enter') { | ||
_this.handleClickCloseButton(e); | ||
@@ -71,0 +71,0 @@ } |
{ | ||
"name": "react-redux-toastr", | ||
"version": "7.6.2", | ||
"version": "7.6.3", | ||
"description": "react-redux-toastr is a React toastr message implemented with Redux", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -103,3 +103,3 @@ import React, {isValidElement} from 'react'; // eslint-disable-line no-unused-vars | ||
handlePressEnterOrSpaceKeyToastr = (e) => { | ||
if (e.key === ' ' || e.key === 'enter') { | ||
if (e.key === ' ' || e.key === 'Enter') { | ||
this.handleClickToastr(e); | ||
@@ -110,3 +110,3 @@ } | ||
handlePressEnterOrSpaceKeyCloseButton = (e) => { | ||
if (e.key === ' ' || e.key === 'enter') { | ||
if (e.key === ' ' || e.key === 'Enter') { | ||
this.handleClickCloseButton(e); | ||
@@ -113,0 +113,0 @@ } |