|
|
@ -790,8 +790,7 @@ function addToCommonDMsList(list, targetAlias, message) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function handleClickOpenProfileModal(event) { |
|
|
|
function handleClickOpenProfileModal(event) { |
|
|
|
muteEvent(event, true); |
|
|
|
event.data = {route: $(this).attr('href')}; |
|
|
|
event.data = {route: $(event.target).attr('href')}; |
|
|
|
|
|
|
|
routeOnClick(event); |
|
|
|
routeOnClick(event); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -2272,7 +2271,8 @@ function initInterfaceCommon() { |
|
|
|
else |
|
|
|
else |
|
|
|
$('.undo-unicode').on('click', undoLastUnicode); |
|
|
|
$('.undo-unicode').on('click', undoLastUnicode); |
|
|
|
|
|
|
|
|
|
|
|
getElem('.open-profile-modal', true).on('click mouseup', handleClickOpenProfileModal); |
|
|
|
getElem('.open-profile-modal', true) |
|
|
|
|
|
|
|
.on('click', muteEvent).on('mouseup', handleClickOpenProfileModal); |
|
|
|
//$('.open-hashtag-modal').on('click', openHashtagModal);
|
|
|
|
//$('.open-hashtag-modal').on('click', openHashtagModal);
|
|
|
|
//$('.open-following-modal').on('click', openFollowingModal);
|
|
|
|
//$('.open-following-modal').on('click', openFollowingModal);
|
|
|
|
$('.userMenu-connections a').on('click', openMentionsModal); |
|
|
|
$('.userMenu-connections a').on('click', openMentionsModal); |
|
|
|