Partial (?) fix for bug 29753 -- wrong Firefox version comparison for non-Mac Firefox...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 7 Jul 2011 17:17:06 +0000 (17:17 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 7 Jul 2011 17:17:06 +0000 (17:17 +0000)
resources/mediawiki/mediawiki.util.js

index ec53939..435a105 100644 (file)
@@ -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-';
                                        }