mediawiki.util: Detect Iceweasel for accesskeys
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 15 Sep 2013 16:41:17 +0000 (18:41 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 15 Sep 2013 16:42:39 +0000 (18:42 +0200)
Bug: 54015
Change-Id: I105f22756c5df32aef2e4581f5f0d8e3db059dfc

resources/mediawiki/mediawiki.util.js

index 071a52b..5da97d0 100644 (file)
@@ -53,8 +53,9 @@
                                                        || profile.name === 'konqueror' ) ) {
                                util.tooltipAccessKeyPrefix = 'ctrl-';
 
-                       // Firefox 2.x and later
-                       } else if ( profile.name === 'firefox' && profile.versionBase > '1' ) {
+                       // Firefox/Iceweasel 2.x and later
+                       } else if ( ( profile.name === 'firefox' || profile.name === 'iceweasel' )
+                               && profile.versionBase > '1' ) {
                                util.tooltipAccessKeyPrefix = 'alt-shift-';
                        }