Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -5,6 +5,7 @@ |
6 | 6 | && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1)); |
7 | 7 | var is_safari = ((clientPC.indexOf('applewebkit')!=-1) && (clientPC.indexOf('spoofer')==-1)); |
8 | 8 | var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled )); |
| 9 | +var is_ff2 = (clientPC.indexOf('Firefox/2')!=-1 || clientPC.indexOf('Minefield/3')!=-1); // For accesskeys |
9 | 10 | if (clientPC.indexOf('opera') != -1) { |
10 | 11 | var is_opera = true; |
11 | 12 | var is_opera_preseven = (window.opera && !document.childNodes); |
— | — | @@ -462,12 +463,15 @@ |
463 | 464 | function akeytt() { |
464 | 465 | if (typeof ta == "undefined" || !ta) |
465 | 466 | return; |
466 | | - var pref = 'alt-'; |
467 | 467 | if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1 |
468 | 468 | || navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 ) |
469 | 469 | pref = 'control-'; |
470 | | - if (is_opera) |
| 470 | + else if (is_opera) |
471 | 471 | pref = 'shift-esc-'; |
| 472 | + else if (is_ff2) |
| 473 | + pref = 'shift-alt-'; |
| 474 | + else |
| 475 | + pref = 'alt-'; |
472 | 476 | |
473 | 477 | for (var id in ta) { |
474 | 478 | var n = document.getElementById(id); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | * Fixed duplicate name/id value of "search" in Cologne Blue |
67 | 67 | * (bug 7644) User creations that are aborted by hooks shouldn't be counted |
68 | 68 | against account creations per day limit |
| 69 | +* (bug 7636) Show Firefox 2 users "shift-alt" as accesskey prefix |
69 | 70 | |
70 | 71 | == Languages updated == |
71 | 72 | |