Moved curly braces to the right of functions

This commit is contained in:
Wez Pyke 2016-03-09 13:37:32 +00:00
parent ac380603cf
commit 959975d0e9
1 changed files with 2 additions and 4 deletions

View File

@ -241,13 +241,11 @@ function setCountdown($element, seconds) {
var endTime, mins, msLeft, time, twoMinWarningShown = false;
function twoDigits(n)
{
function twoDigits(n) {
return (n <= 9 ? "0" + n : n);
}
function updateTimer()
{
function updateTimer() {
msLeft = endTime - (+new Date);
if (msLeft < 1000) {
alert("You have run out of time! You will have to restart the order process.");