From 80201f22ae65d9a8fc17bdac6d973ac14c786a42 Mon Sep 17 00:00:00 2001 From: Micho Date: Thu, 23 May 2013 20:44:59 +0200 Subject: [PATCH] fixing start-stop-class --- clients/anim/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/anim/main.js b/clients/anim/main.js index 9f1d0a5..735be47 100644 --- a/clients/anim/main.js +++ b/clients/anim/main.js @@ -224,16 +224,16 @@ function init() { function startPlay() { if (!interval) { interval = setInterval(update, frameDuration); - $('#play').removeClass('pause'); } + $('#play').removeClass('pause'); } function stopPlay() { if (interval) { clearInterval(interval); interval = false; - $('#play').addClass('pause'); } + $('#play').addClass('pause'); } function togglePlay() {