From 65f39b8a07adb70ac8ac7c82ba2d2dab927459c6 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 9 Oct 2016 02:11:55 +0200 Subject: [PATCH] local-time.js: fixup --- js/local-time.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/local-time.js b/js/local-time.js index c3c47b8d..1a05002b 100644 --- a/js/local-time.js +++ b/js/local-time.js @@ -73,7 +73,7 @@ $(document).ready(function(){ times[i].setAttribute('data-local', 'true'); - if (!localStorage.show_relative_time || localStorage.show_relative_time === 'false') { + if (localStorage.show_relative_time === 'false') { times[i].innerHTML = dateformat(iso8601(t)); times[i].setAttribute('title', timeDifference(currentTime, postTime.getTime())); } else {