From d5dafe4a65a84d40f567f581711b5d930a955d79 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Wed, 23 Jan 2013 00:15:16 +0100 Subject: Some small fixes --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 07e46bf..4ac1a6f 100644 --- a/index.html +++ b/index.html @@ -2139,20 +2139,20 @@ if (DelisOK) { break; case KEY_5: - if (recMark.length-1>posMark) { + if (recMark.length>posMark) { position = recMark[posMark]; playRec(recLink[currMed] + "?time=" + position); } break; case KEY_2: - if (recMark.length>0 && posMark>0) { + if (posMark>0) { posMark = posMark - 1; position = recMark[posMark]; playRec(recLink[currMed] + "?time=" + position); } break; case KEY_8: - if (recMark.length>0 && recMark[posMark+1]) { + if (recMark[posMark+1]) { posMark = posMark + 1; position = recMark[posMark]; playRec(recLink[currMed] + "?time=" + position); -- cgit v1.2.3