From 370e0b55a32f35148c21e7346b484abcd87bbc38 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 12 Sep 2014 22:19:16 -0700 Subject: [PATCH 1/1] This became racy TODO: Actually fix the problem rather than just increasing the sleep time. --- picsorter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picsorter.js b/picsorter.js index b8b1804..31091fa 100644 --- a/picsorter.js +++ b/picsorter.js @@ -52,7 +52,7 @@ function setpic() { function say(message) { $("#message").text(message).removeClass("fade"); - setTimeout(function() { $("#message").addClass("fade"); }, 1); + setTimeout(function() { $("#message").addClass("fade"); }, 100); } function announce() { say(input_index + " " + (picinfo[files[input_index]].name || "")); -- 2.44.1