From 187e4ff528ee5395efb52f20f95d9f9a1c7d83a6 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 17 Oct 2023 18:54:19 -0400 Subject: themes/default/layouts/_default/home.archives: Pull out time line --- assets/js/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'assets/js') 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); -- cgit v1.2.3