Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193

git-svn-id: http://svn.automattic.com/wordpress/trunk@5315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-26 02:02:59 +00:00
parent b3d3d731ac
commit 2a03779965

View File

@ -4,6 +4,10 @@ if (navigator.userAgent.indexOf('Mac OS') != -1) {
// Mac OS browsers use Ctrl to hit accesskeys
var metaKey = 'Ctrl';
}
else if (navigator.userAgent.indexOf('Firefox/2') != -1) {
// Firefox 2.x uses Alt+Shift to hit accesskeys
var metaKey = 'Alt+Shift';
}
else {
var metaKey = 'Alt';
}