1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

local-time.js: fixup

This commit is contained in:
czaks 2016-10-09 02:11:55 +02:00
parent 741c29b452
commit 65f39b8a07

View File

@ -73,7 +73,7 @@ $(document).ready(function(){
times[i].setAttribute('data-local', 'true'); 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].innerHTML = dateformat(iso8601(t));
times[i].setAttribute('title', timeDifference(currentTime, postTime.getTime())); times[i].setAttribute('title', timeDifference(currentTime, postTime.getTime()));
} else { } else {