...
} else if(event.key == 'e' && event.shift && quickCheckIfStuffHasFocus)
{
        this.buttons[2].fireEvent('click');
}
...

I'd like quickCheckIfStuffHasFocus to be true before I go ahead and
fire the event.  When I'm typing in an input I really don't want the
keyboard stuff to work.

At the moment I'm storing true or false in a global variable and
checking against that, but that's ugly.

Any ideas?  Thanks!

Reply via email to