Index: trunk/phase3/resources/mediawiki/mediawiki.util.js |
— | — | @@ -29,16 +29,18 @@ |
30 | 30 | |
31 | 31 | // Chrome on any platform |
32 | 32 | } else if ( profile.name === 'chrome' ) { |
33 | | - |
| 33 | + |
34 | 34 | util.tooltipAccessKeyPrefix = ( |
35 | | - // Chrome on Mac |
36 | | - profile.platform === 'mac' ? 'ctrl-option-' : |
37 | | - // Chrome on Windows |
38 | | - // (both alt- and alt-shift work, but alt-f triggers Chrome wrench menu |
39 | | - // which alt-shift-f does not) |
40 | | - profile.platform === 'win' ? 'alt-shift-' : |
41 | | - // Chrome on Ubuntu (and other?) |
42 | | - 'alt-' |
| 35 | + profile.platform === 'mac' |
| 36 | + // Chrome on Mac |
| 37 | + ? 'ctrl-option-' |
| 38 | + : profile.platform === 'win' |
| 39 | + // Chrome on Windows |
| 40 | + // (both alt- and alt-shift work, but alt-f triggers Chrome wrench menu |
| 41 | + // which alt-shift-f does not) |
| 42 | + ? 'alt-shift-' |
| 43 | + // Chrome on other (Ubuntu?) |
| 44 | + : 'alt-' |
43 | 45 | ); |
44 | 46 | |
45 | 47 | // Non-Windows Safari with webkit_version > 526 |