From 255e4633478f9752c441517359f08e6a4818daf0 Mon Sep 17 00:00:00 2001 From: Coleman Date: Sat, 11 Oct 2008 17:44:06 -0500 Subject: [PATCH] stupid javascript syntax --- app/views/home/_pagination_script.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/_pagination_script.html.haml b/app/views/home/_pagination_script.html.haml index 7bdea09..8565004 100644 --- a/app/views/home/_pagination_script.html.haml +++ b/app/views/home/_pagination_script.html.haml @@ -8,7 +8,7 @@ np = 0; if(np >= page_count) np = page_count - 1; - if(np == page or page_count == 0) + if(np == page || page_count == 0) return; setTimeout("update_scroll_box(" + np + ");", 800); new Effect.DropOut($('inner_#{@pagination_block}'));