mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 08:58:05 +00:00
rename openConversationClick() to handleClickOpenConversation()
This commit is contained in:
parent
c7f3c9780b
commit
e4bc01ecd3
@ -795,7 +795,7 @@ function handleClickOpenProfileModal(event) {
|
|||||||
routeOnClick(event);
|
routeOnClick(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
function openConversationClick(event) {
|
function handleClickOpenConversation(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
@ -2264,7 +2264,7 @@ function initInterfaceCommon() {
|
|||||||
$('.post-submit').on('click', postSubmit);
|
$('.post-submit').on('click', postSubmit);
|
||||||
$('.modal-propagate').on('click', retweetSubmit);
|
$('.modal-propagate').on('click', retweetSubmit);
|
||||||
$('.expanded-content .show-more').on('mouseup',
|
$('.expanded-content .show-more').on('mouseup',
|
||||||
{feeder: '.module.post.original.open .module.post.original .post-data'}, openConversationClick)
|
{feeder: '.module.post.original.open .module.post.original .post-data'}, handleClickOpenConversation)
|
||||||
.on('click', muteEvent) // to prevent post collapsing
|
.on('click', muteEvent) // to prevent post collapsing
|
||||||
;
|
;
|
||||||
if ($.Options.unicodeConversion.val === 'disable')
|
if ($.Options.unicodeConversion.val === 'disable')
|
||||||
@ -2485,7 +2485,7 @@ $(document).ready(function () {
|
|||||||
.append(twister.tmpl.shortenUri.clone(true))
|
.append(twister.tmpl.shortenUri.clone(true))
|
||||||
;
|
;
|
||||||
twister.tmpl.postRtReference = extractTemplate('#template-post-rt-reference')
|
twister.tmpl.postRtReference = extractTemplate('#template-post-rt-reference')
|
||||||
.on('mouseup', {feeder: '.post-rt-reference'}, openConversationClick)
|
.on('mouseup', {feeder: '.post-rt-reference'}, handleClickOpenConversation)
|
||||||
.on('click', muteEvent) // to prevent post expanding or collapsing
|
.on('click', muteEvent) // to prevent post expanding or collapsing
|
||||||
;
|
;
|
||||||
twister.tmpl.postRtBy = extractTemplate('#template-post-rt-by');
|
twister.tmpl.postRtBy = extractTemplate('#template-post-rt-by');
|
||||||
|
@ -495,7 +495,7 @@ function handleAvatarFileSelectMobile(evt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openConversationClick(event) {
|
function handleClickOpenConversation(event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user