From a7ac05b2bd520465669b0c297425c5ebaa254196 Mon Sep 17 00:00:00 2001 From: Tay Ray Chuan Date: Fri, 17 Sep 2010 18:23:09 +0800 Subject: [PATCH] js/showoff.js: strip trailing whitespace --- public/js/showoff.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/js/showoff.js b/public/js/showoff.js index 1863b686f..42014b6d1 100644 --- a/public/js/showoff.js +++ b/public/js/showoff.js @@ -481,8 +481,8 @@ var preshow_imagesTotal = 0; var preshow_des; function runPreShow() { - if(preshow_running) { - stopPreShow() + if(preshow_running) { + stopPreShow() } else { var minutes = prompt("Minutes from now to start") preshow_secondsLeft = parseFloat(minutes) * 60 @@ -496,7 +496,7 @@ function runPreShow() { preshow_des = data }) } else { - $('#preshow').append('') + $('#preshow').append('') } }) startPreShow() @@ -554,11 +554,11 @@ function secondsToTime(sec) { function stopPreShow() { preshow_running = false - + $('#preshow').remove() $('#tips').remove() $('#preshow_timer').remove() - + toggleFooter() loadSlides(loadSlidesBool, loadSlidesPrefix); }