Fixed tab selection for received likes on user profile
authorAlexander Ebert <ebert@woltlab.com>
Wed, 24 Aug 2016 21:09:21 +0000 (23:09 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 24 Aug 2016 21:09:21 +0000 (23:09 +0200)
wcfsetup/install/files/js/WCF.User.js

index de0d3eb394ae201adfaa7c808813ff7f7f5266ec..ab9156b6323482b16d467282abdc827a37383023 100644 (file)
@@ -802,7 +802,7 @@ WCF.User.Profile.TabMenu = Class.extend({
                        }, this));
                }
                
-               $('.jsButtonUserLikes').click((function (event) {
+               $('.userProfileUser .contentDescription a[href$="#likes"]').click((function (event) {
                        event.preventDefault();
                        
                        require(['Ui/TabMenu'], function (UiTabMenu) {