summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-29 21:28:45 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-29 21:28:45 +0900
commitea9265b30b563e19fdee8bdfd13b870c3bf077d2 (patch)
tree63b34ef153f1efd8d926fcb3f559f414b6829508 /src/client/app/mobile
parentDisable http2 (diff)
downloadmisskey-ea9265b30b563e19fdee8bdfd13b870c3bf077d2.tar.gz
misskey-ea9265b30b563e19fdee8bdfd13b870c3bf077d2.tar.bz2
misskey-ea9265b30b563e19fdee8bdfd13b870c3bf077d2.zip
Fix bug
Diffstat (limited to 'src/client/app/mobile')
-rw-r--r--src/client/app/mobile/views/components/ui.header.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue
index 1e6c7b0856..509463333d 100644
--- a/src/client/app/mobile/views/components/ui.header.vue
+++ b/src/client/app/mobile/views/components/ui.header.vue
@@ -59,9 +59,10 @@ export default Vue.extend({
}
});
- const ago = (new Date().getTime() - new Date((this as any).os.i.lastUsedAt).getTime()) / 1000
+ const ago = (new Date().getTime() - new Date((this as any).os.i.lastUsedAt).getTime()) / 1000;
const isHisasiburi = ago >= 3600;
(this as any).os.i.lastUsedAt = new Date();
+ (this as any).os.bakeMe();
if (isHisasiburi) {
(this.$refs.welcomeback as any).style.display = 'block';
(this.$refs.main as any).style.overflow = 'hidden';