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}'));