Comparing version 0.6.2 to 0.6.3
@@ -27,3 +27,3 @@ 'use strict'; | ||
*/ | ||
function Keyboard(config, eventBus, editorActions) { | ||
function Keyboard(config, eventBus, editorActions, sheet) { | ||
var self = this; | ||
@@ -49,2 +49,6 @@ | ||
if (!document.body.contains(sheet.getContainer())) { | ||
return; | ||
} | ||
if (domMatches(target, 'input, textarea')) { | ||
@@ -81,3 +85,3 @@ return; | ||
Keyboard.$inject = [ 'config.keyboard', 'eventBus', 'editorActions' ]; | ||
Keyboard.$inject = [ 'config.keyboard', 'eventBus', 'editorActions', 'sheet' ]; | ||
@@ -84,0 +88,0 @@ module.exports = Keyboard; |
{ | ||
"name": "table-js", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "A table editing framework for the web", | ||
@@ -5,0 +5,0 @@ "scripts": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
221570
5968
1