diff --git a/modules/permalinks.js b/modules/permalinks.js index a4e94f9f9..c5159d148 100644 --- a/modules/permalinks.js +++ b/modules/permalinks.js @@ -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 ) {