mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-02 08:48:37 +09:00
oops
This commit is contained in:
parent
37e5a9d06a
commit
ad464c9f78
@ -46,6 +46,7 @@ export default Vue.extend({
|
|||||||
if ((this as any).os.isSignedIn) {
|
if ((this as any).os.isSignedIn) {
|
||||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||||
const isHisasiburi = ago >= 3600;
|
const isHisasiburi = ago >= 3600;
|
||||||
|
(this as any).os.i.last_used_at = new Date();
|
||||||
if (isHisasiburi) {
|
if (isHisasiburi) {
|
||||||
(this.$refs.welcomeback as any).style.display = 'block';
|
(this.$refs.welcomeback as any).style.display = 'block';
|
||||||
(this.$refs.main as any).style.overflow = 'hidden';
|
(this.$refs.main as any).style.overflow = 'hidden';
|
||||||
|
Loading…
Reference in New Issue
Block a user