From 18f60364b920e0ff33bc4b8e3135590effeaf173 Mon Sep 17 00:00:00 2001 From: Renard Date: Sun, 29 Mar 2020 18:47:51 -0300 Subject: Prettier para JS --- static/js/manage.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'static/js/manage.js') diff --git a/static/js/manage.js b/static/js/manage.js index 475361d..4aa1309 100644 --- a/static/js/manage.js +++ b/static/js/manage.js @@ -7,7 +7,9 @@ function pvw(e) { prev = document.getElementById("prev_desc"); prev.innerHTML = desc.value; prev.style.display = "block"; - prev.addEventListener("input", function() { desc.value = prev.innerHTML; }); + prev.addEventListener("input", function() { + desc.value = prev.innerHTML; + }); } function timeAgo(timestamp) { @@ -31,14 +33,15 @@ document.addEventListener("DOMContentLoaded", function(e) { var list = document.getElementById("timelist"); if (list) { var secs = document.getElementById("timelist").getElementsByTagName("a"); - for(var i=0;i