ministryofjustice/atet — pull request #426 by dan-palmer (2014-12-01 14:31:24+00:00)
Title: Session Prompt Redisplay Bug

- Don’t be tricky and use double bitwise not operator when Math.floor can be used.
- Initialise the prompt with the time to avoid having it in the locale file.
- Initialise the prompt with he time so when it is re displayed it immediately shows the correct timeout left.
- Isolate millis to second conversion only where it is required(updating the time left function).