From 7a30348f90a7c8c3599faa2dbf34cfddb0e7df58 Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 26 Apr 2007 02:02:59 +0000 Subject: [PATCH] Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193 git-svn-id: https://develop.svn.wordpress.org/trunk@5315 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/tinymce/plugins/wordpress/langs/en.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-includes/js/tinymce/plugins/wordpress/langs/en.js b/wp-includes/js/tinymce/plugins/wordpress/langs/en.js index 6eb93e7a0e..49950f0ec6 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/langs/en.js +++ b/wp-includes/js/tinymce/plugins/wordpress/langs/en.js @@ -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'; }