DesktopArticleTarget: Handle section edit link clicks in single edit tab mode

Bug: T58337
Change-Id: Ic4c19cdfc3cfcf33604d0c4e7780b45967cdf57d
This commit is contained in:
Alex Monk 2015-12-09 02:25:05 +00:00 committed by James D. Forrester
parent 2efbdc670c
commit b877e16723

View file

@ -752,6 +752,8 @@
mw.user.options.get( 'visualeditor-tabs' ) !== 'multi-tab' &&
userPrefEnabled
) {
// Handle section edit link clicks
$( '.mw-editsection a' ).on( 'click', init.onEditSectionLinkClick );
// Allow instant switching to edit mode, without refresh
$( '#ca-edit' ).click( function ( e ) {
if (