ctrl + num + num
Author: vinodh22Created Aug 13, 2012Updated Jan 2, 2026
Labelsbug
Mousetrap.bind('ctrl+1', function() { console.log('ctrl 1'); return false;});
Mousetrap.bind('ctrl+1+1', function() { console.log('ctrl+11');return false; });
If I press ctrl+1, then both the event occurs.. Instead, I need both the above as different event.. help me..
Source: ccampbell/mousetrap