From 20c076b369f313af4593ab8722d5b2b15b49f71f Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Mon, 28 Dec 2020 13:58:57 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B4=B0=E3=81=8B=E3=81=84=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=81=AA=E3=81=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/global/avatar.vue | 4 ++-- src/client/components/signup.vue | 4 +++- src/client/init.ts | 1 + src/client/ui/deck/column.vue | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/client/components/global/avatar.vue b/src/client/components/global/avatar.vue index 5723ea04b6..9f8b0eeca1 100644 --- a/src/client/components/global/avatar.vue +++ b/src/client/components/global/avatar.vue @@ -1,9 +1,9 @@ <template> <span class="eiwwqkts" :class="{ cat }" :title="acct(user)" v-if="disableLink" v-user-preview="disablePreview ? undefined : user.id" @click="onClick"> - <img class="inner" :src="url"/> + <img class="inner" :src="url" decoding="async"/> </span> <MkA class="eiwwqkts" :class="{ cat }" :to="userPage(user)" :title="acct(user)" :target="target" v-else v-user-preview="disablePreview ? undefined : user.id"> - <img class="inner" :src="url"/> + <img class="inner" :src="url" decoding="async"/> </MkA> </template> diff --git a/src/client/components/signup.vue b/src/client/components/signup.vue index 4e45b9a94e..91d0f2c96f 100644 --- a/src/client/components/signup.vue +++ b/src/client/components/signup.vue @@ -39,7 +39,9 @@ <label v-if="meta.tosUrl" class="tou"> <input type="checkbox" v-model="ToSAgreement"> <I18n :src="$ts.agreeTo"> - <a :href="meta.tosUrl" class="_link" target="_blank">{{ $ts.tos }}</a> + <template #0> + <a :href="meta.tosUrl" class="_link" target="_blank">{{ $ts.tos }}</a> + </template> </I18n> </label> <captcha v-if="meta.enableHcaptcha" class="captcha" provider="hcaptcha" ref="hcaptcha" v-model:value="hCaptchaResponse" :sitekey="meta.hcaptchaSiteKey"/> diff --git a/src/client/init.ts b/src/client/init.ts index 05fbec3a34..9f4641a34e 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -28,6 +28,7 @@ if (localStorage.getItem('vuex') != null) { } } + localStorage.setItem('vuex-old', JSON.stringify(vuex)); localStorage.removeItem('vuex'); localStorage.removeItem('i'); diff --git a/src/client/ui/deck/column.vue b/src/client/ui/deck/column.vue index f8e4c3e0ba..4e9d9426e6 100644 --- a/src/client/ui/deck/column.vue +++ b/src/client/ui/deck/column.vue @@ -22,7 +22,7 @@ <slot name="action"></slot> </div> <span class="header"><slot name="header"></slot></span> - <button v-if="func" class="menu _button" ref="menu" @click.stop="func.handler"><Fa :icon="func.icon || faCog"/></button> + <button v-if="func" class="menu _button" v-tooltip="func.title" @click.stop="func.handler"><Fa :icon="func.icon || faCog"/></button> </header> <div ref="body" v-show="active"> <slot></slot>