whitespace not being trimmed right makes voting hard
Brought to you by:
cyprusllama
In doing a vote you have to type in the name exactly, without any excess leading or trailing whitespace.
This is due to a bug in the code. It says
choice.trim();
but the trim function returns the new string, it doesn't modify choice. It needs to be something like
choice = choice.trim();
There are several other trim calls in the code that need to be fixed similarly.