Instrument when permalinks are copied

Bug: T359182
Change-Id: I3a7cfc0eaf6472804cc587cfa320bdc20b462492
This commit is contained in:
David Lynch 2024-03-05 11:35:46 -06:00
parent ae7df33ec1
commit 01749e4970

View file

@ -1,7 +1,7 @@
function init( $pageContainer ) {
$pageContainer.find( '.ext-discussiontools-init-timestamplink' ).on( 'click', function () {
copyLink( this.href );
} );
} ).attr( 'data-event-name', 'discussiontools.permalink-copied' );
}
function copyLink( link ) {