mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-03 12:37:02 +00:00
Don't prevent default on mobile heading clicks
This greatly increases the size of the click target for exanding a section, which is the most common action to be taken. Bug: T380896 Change-Id: Ib88e90f6eeee03f7559c78c0ef3dde3956cfd125
This commit is contained in:
parent
4f6273e442
commit
042c0a1a40
|
@ -41,11 +41,6 @@ function init( $container, pageThreads ) {
|
|||
mw.hook( 'discussionToolsOverflowMenuOnChoose' ).fire( menuItem.getData().id, menuItem, threadItem );
|
||||
} );
|
||||
} );
|
||||
|
||||
$container.find( '.ext-discussiontools-init-section-bar' ).on( 'click', ( e ) => {
|
||||
// Don't toggle section when clicking on bar
|
||||
e.stopPropagation();
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue