mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Log an event when the lede button is clicked
Bug: T314596 Change-Id: Ifb5c9eb3cfac8b217546d4945e6f39ce38251e1e
This commit is contained in:
parent
9cc104cb88
commit
0db7b997f3
|
@ -80,6 +80,7 @@ function init( $container ) {
|
|||
OO.ui.infuse( $ledeButton ).on( 'click', function () {
|
||||
mw.loader.using( 'oojs-ui-windows' ).then( function () {
|
||||
windowManager.openWindow( 'ledeSection', { $content: $ledeContent } );
|
||||
mw.track( 'webuiactions_log.click', 'lede-button' );
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue