From 1b8ed8b836affe02d3217cf46c9c92fdbd2e0872 Mon Sep 17 00:00:00 2001 From: Jurian Even Date: Mon, 13 May 2013 11:40:20 +0200 Subject: [PATCH] 'modifier+a' didn't work correctly when 'modifier b' also exists. Fixes #124 https://github.com/ccampbell/mousetrap/issues/124 --- mousetrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mousetrap.js b/mousetrap.js index 030aab13..6e8f6a0f 100644 --- a/mousetrap.js +++ b/mousetrap.js @@ -474,7 +474,7 @@ // if there were no sequence matches but we are still here // that means this is a regular match so we should fire that - if (!processedSequenceCallback && !_sequenceType) { + if (!processedSequenceCallback) { _fireCallback(callbacks[i].callback, e, callbacks[i].combo); } }