From bb9685b85d8be5a980d78e8f6cb377c11d752821 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 10 Apr 2019 20:31:31 +0200 Subject: [PATCH] Fixed timeago initialisation. --- assets/typescript/misuzu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/typescript/misuzu.ts b/assets/typescript/misuzu.ts index 215c06e8..d07f6014 100644 --- a/assets/typescript/misuzu.ts +++ b/assets/typescript/misuzu.ts @@ -18,7 +18,7 @@ let loginFormAvatarTimeout: number = 0; window.addEventListener('load', () => { console.log("%c __ ____\n / |/ (_)______ ______ __ __\n / /|_/ / / ___/ / / /_ / / / / /\n / / / / (__ ) /_/ / / /_/ /_/ /\n/_/ /_/_/____/\\__,_/ /___/\\__,_/\nhttps://github.com/flashwave/misuzu", 'color: #8559a5'); - timeago().render(document.querySelectorAll('time')); + timeago.render(document.querySelectorAll('time')); hljs.initHighlighting(); initCSRF();