toggle instead of always showing the help overlay when ? is pressed

This commit is contained in:
Hakim El Hattab 2014-06-09 18:24:47 +02:00
parent 3a6172e67d
commit f5ac0b35d1

View file

@ -3297,7 +3297,12 @@
// Check if the pressed key is question mark
if( event.shiftKey && event.charCode === 63 ) {
showHelp();
if( dom.overlay ) {
closeOverlay();
}
else {
showHelp( true );
}
}
}