react-modal-video
Advanced tools
Comparing version
@@ -58,3 +58,3 @@ 'use strict'; | ||
if (e.keyCode === 27) { | ||
this.setState({ isOpen: false }); | ||
this.closeModal(); | ||
} | ||
@@ -61,0 +61,0 @@ } |
{ | ||
"name": "react-modal-video", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Modal Video Viewer", |
@@ -28,3 +28,3 @@ import React from 'react' | ||
if (e.keyCode === 27) { | ||
this.setState({ isOpen: false }) | ||
this.closeModal(); | ||
} | ||
@@ -31,0 +31,0 @@ } |
Sorry, the diff of this file is too big to display
871118
0.05%18575
0.09%