TODO: Actually fix the problem rather than just increasing the sleep time.
function say(message) {
$("#message").text(message).removeClass("fade");
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 || ""));
}
function announce() {
say(input_index + " " + (picinfo[files[input_index]].name || ""));