From 042c0a1a40e6c45373345c3286d42f3bd7390722 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 10 Oct 2024 11:29:01 +0100 Subject: [PATCH] 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 --- modules/overflowMenu.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/overflowMenu.js b/modules/overflowMenu.js index 3ae9eac7d..819362e49 100644 --- a/modules/overflowMenu.js +++ b/modules/overflowMenu.js @@ -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(); - } ); } ); }