mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
DesktopArticleTarget: Handle section edit link clicks in single edit tab mode
Bug: T58337 Change-Id: Ic4c19cdfc3cfcf33604d0c4e7780b45967cdf57d
This commit is contained in:
parent
2efbdc670c
commit
b877e16723
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue