Use new instead of deprecated popover data attribute for mentions
authorMatthias Schmidt <gravatronics@live.com>
Wed, 12 May 2021 11:19:00 +0000 (13:19 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 12 May 2021 11:19:00 +0000 (13:19 +0200)
See #3318

com.woltlab.wcf/templates/userBBCodeTag.tpl

index 4d7ec5439291f56bc4cc6222b98af7100f5ab0fa..6c14c28ab9a9ddca1d13911c98078a8c725c3435 100644 (file)
@@ -2,5 +2,5 @@
        {* user no longer exists, use plain output rather than using a broken link *}
        @{$username}{* no newline after the tag
 *}{else}
-       <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="userMention userLink" data-user-id="{@$userProfile->userID}">{$userProfile->username}</a>{* no newline after the tag
+       <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="userMention userLink" data-object-id="{@$userProfile->userID}">{$userProfile->username}</a>{* no newline after the tag
 *}{/if}