mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-14 04:01:54 +01:00
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:
parent
b3d3d731ac
commit
2a03779965
@ -4,6 +4,10 @@ if (navigator.userAgent.indexOf('Mac OS') != -1) {
|
|||||||
// Mac OS browsers use Ctrl to hit accesskeys
|
// Mac OS browsers use Ctrl to hit accesskeys
|
||||||
var metaKey = 'Ctrl';
|
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 {
|
else {
|
||||||
var metaKey = 'Alt';
|
var metaKey = 'Alt';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user