1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 23:38:55 +09:00
This commit is contained in:
こぴなたみぽ 2018-02-26 18:32:24 +09:00
parent 37e5a9d06a
commit ad464c9f78

View File

@ -46,6 +46,7 @@ export default Vue.extend({
if ((this as any).os.isSignedIn) {
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
const isHisasiburi = ago >= 3600;
(this as any).os.i.last_used_at = new Date();
if (isHisasiburi) {
(this.$refs.welcomeback as any).style.display = 'block';
(this.$refs.main as any).style.overflow = 'hidden';