diff --git a/app/views/public/needs/show.html.haml b/app/views/public/needs/show.html.haml
index 1540eea..bc176ed 100755
--- a/app/views/public/needs/show.html.haml
+++ b/app/views/public/needs/show.html.haml
@@ -115,14 +115,14 @@
}
}
});
-
+ if(clock_max > 0){
countup = setInterval(function() {
clock.increment();
if(clock.getTime().time >= clock_max) {
clock.stop();
clearInterval(countup);
}
- }, 0);
+ }, 0);}
-if @need.verified?
- @wish = @need.wishes.where(need_id: @need.id, customer_id: current_customer.id).first