mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
Instrument when permalinks are copied
Bug: T359182 Change-Id: I3a7cfc0eaf6472804cc587cfa320bdc20b462492
This commit is contained in:
parent
ae7df33ec1
commit
01749e4970
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue