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:
Ed Sanders 2024-10-10 11:29:01 +01:00
parent 4f6273e442
commit 042c0a1a40

View file

@ -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();
} );
} );
}