From: Brion Vibber Date: Thu, 7 Jul 2011 17:17:06 +0000 (+0000) Subject: Partial (?) fix for bug 29753 -- wrong Firefox version comparison for non-Mac Firefox... X-Git-Tag: 1.31.0-rc.0~29012 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=cb3d616efa42a837ffb0b0a1b312c89db5962343;p=lhc%2Fweb%2Fwiklou.git Partial (?) fix for bug 29753 -- wrong Firefox version comparison for non-Mac Firefox 2+ accesskey tooltip. However, this code IS NOT YET USED which is very suspicious. An earlier version of this code is wikibits.js is still being used for some reason, which indicates a maintenance problem. --- diff --git a/resources/mediawiki/mediawiki.util.js b/resources/mediawiki/mediawiki.util.js index ec5393904e..435a105c49 100644 --- a/resources/mediawiki/mediawiki.util.js +++ b/resources/mediawiki/mediawiki.util.js @@ -53,8 +53,8 @@ || profile.name == 'konqueror' ) ) { util.tooltipAccessKeyPrefix = 'ctrl-'; - // Firefox 2.x - } else if ( profile.name == 'firefox' && profile.versionBase == '2' ) { + // Firefox 2.x and later + } else if ( profile.name == 'firefox' && profile.versionBase > '1' ) { util.tooltipAccessKeyPrefix = 'alt-shift-'; }