diff options
author | tdro <tdro@noreply.example.com> | 2023-10-17 18:54:19 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-10-17 18:54:19 -0400 |
commit | 187e4ff528ee5395efb52f20f95d9f9a1c7d83a6 (patch) | |
tree | f072cee906a7ec73f838ee8cfad2fe44e1cd8088 /assets/js | |
parent | 95048ae38f44b6510c526631ed9fedd605e1db2c (diff) | |
download | canory-187e4ff528ee5395efb52f20f95d9f9a1c7d83a6.tar.gz canory-187e4ff528ee5395efb52f20f95d9f9a1c7d83a6.tar.bz2 canory-187e4ff528ee5395efb52f20f95d9f9a1c7d83a6.zip |
themes/default/layouts/_default/home.archives: Pull out time line
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/index.js b/assets/js/index.js index c2b6fb5..8e5cf48 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -582,6 +582,7 @@ if (update === "viewport" && (offscreen || hidden)) continue; (function(element) { try { + if (element.dataset.type === "disabled") return; const time = new Date(element.dateTime) || new Date(); const interval = (new Date().getTime() - time.getTime()) / 1000; const seconds = Math.round(interval); |