From b1d68872b0f4259c019c9fc3b0bbd5125fecf48e Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 14 Feb 2017 11:24:50 -0600 Subject: [PATCH] DesktopArticleTarget.init: Don't hardcode single-tab accesskey Bug: T156141 Change-Id: I1312283437714bf338a8ee3cf63e93ac67db1c45 --- .../ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js index 53522f3550..985da16fee 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js @@ -946,7 +946,7 @@ // with accesskey 'v' so create one $( 'body' ).append( $( '' ) - .attr( { accesskey: 'v', href: veEditUri } ) + .attr( { accesskey: mw.msg( 'accesskey-ca-ve-edit' ), href: veEditUri } ) // Accesskey fires a click event .on( 'click', init.onEditTabClick.bind( init, 'visual' ) ) .hide()