chore: formatting
This commit is contained in:
parent
088ff4c251
commit
8e5a374ac7
5 changed files with 17 additions and 9 deletions
|
@ -68,7 +68,9 @@
|
|||
class="article"
|
||||
@contextmenu.stop="onContextmenu"
|
||||
@click="noteClick"
|
||||
:style="{ cursor: expandOnNoteClick && !detailedView ? 'pointer' : '' }"
|
||||
:style="{
|
||||
cursor: expandOnNoteClick && !detailedView ? 'pointer' : '',
|
||||
}"
|
||||
>
|
||||
<div class="main">
|
||||
<div class="header-container">
|
||||
|
@ -503,7 +505,11 @@ function scrollIntoView() {
|
|||
}
|
||||
|
||||
function noteClick(e) {
|
||||
if (document.getSelection().type === "Range" || props.detailedView || !expandOnNoteClick) {
|
||||
if (
|
||||
document.getSelection().type === "Range" ||
|
||||
props.detailedView ||
|
||||
!expandOnNoteClick
|
||||
) {
|
||||
e.stopPropagation();
|
||||
} else {
|
||||
router.push(notePage(appearNote));
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
@contextmenu.stop="onContextmenu"
|
||||
>
|
||||
<div v-if="conversation && depth > 1" class="line"></div>
|
||||
<div class="main"
|
||||
<div
|
||||
class="main"
|
||||
@click="noteClick"
|
||||
:style="{ cursor: expandOnNoteClick ? 'pointer' : '' }"
|
||||
>
|
||||
|
|
|
@ -278,7 +278,7 @@ export function alert(props: {
|
|||
}): Promise<void> {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (props.text == null && props.type === "error") {
|
||||
props.text = "An unknown error occured!"
|
||||
props.text = "An unknown error occured!";
|
||||
}
|
||||
popup(
|
||||
MkDialog,
|
||||
|
|
|
@ -98,8 +98,7 @@
|
|||
:text="'$[sparkle @kainoa@calckey.social] (Main developer)'"
|
||||
/></FormLink>
|
||||
<FormLink to="/@april@calckey.social"
|
||||
><Mfm
|
||||
:text="'@april@calckey.social (Backend)'"
|
||||
><Mfm :text="'@april@calckey.social (Backend)'"
|
||||
/></FormLink>
|
||||
<FormLink to="/@freeplay@calckey.social"
|
||||
><Mfm
|
||||
|
|
|
@ -54,9 +54,11 @@
|
|||
<FormSwitch v-model="disablePagesScript" class="_formBlock">{{
|
||||
i18n.ts.disablePagesScript
|
||||
}}</FormSwitch>
|
||||
<FormSwitch v-model="expandOnNoteClick" class="_formBlock">{{
|
||||
i18n.ts.expandOnNoteClick
|
||||
}}<template #caption>{{ i18n.ts.expandOnNoteClickDesc }}</template>
|
||||
<FormSwitch v-model="expandOnNoteClick" class="_formBlock"
|
||||
>{{ i18n.ts.expandOnNoteClick
|
||||
}}<template #caption>{{
|
||||
i18n.ts.expandOnNoteClickDesc
|
||||
}}</template>
|
||||
</FormSwitch>
|
||||
<FormSwitch v-model="profile.showTimelineReplies" class="_formBlock"
|
||||
>{{ i18n.ts.flagShowTimelineReplies
|
||||
|
|
Loading…
Reference in a new issue