1 line
402 B
JavaScript
1 line
402 B
JavaScript
(function(){var e=30,t=function(){return $("#globallogout").submit()},n=function(){var t=$("#timer").html();return 0<e&&e--,t=t.replace(/\d+/,e),$("#timer").html(t),window.setTimeout(n,1e3)};$(document).ready(function(){return $(".data-epoch").each(function(){var t=new Date(1e3*$(this).text());return $(this).text(t.toLocaleString())}),window.setTimeout(t,3e4),window.setTimeout(n,1e3)})}).call(this); |