From 5b55300c6728affe86a3a1e852fd198606b4238a Mon Sep 17 00:00:00 2001 From: Oleg Date: Tue, 15 May 2018 13:13:51 -0700 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 176a47a..22ae876 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ function withKeybindings(WrappedComponent) { * and then either fires an inline method or the .keybinding() method. */ __keybinding: function(event) { - if (isInput(event) && !this.keybindingsOnInputs) return; + if (isInput(event) && !this.props.keybindingsOnInputs) return; for (var i = 0; i < this.matchers.length; i++) { if (match(this.matchers[i].expectation, event)) { if (typeof this.matchers[i].action === 'function') {