This commit is contained in:
Nicolas Bally 2017-06-08 15:14:04 +02:00
parent d1cca5c5b1
commit 91a686d648

View File

@ -115,14 +115,14 @@
} }
} }
}); });
if(clock_max > 0){
countup = setInterval(function() { countup = setInterval(function() {
clock.increment(); clock.increment();
if(clock.getTime().time >= clock_max) { if(clock.getTime().time >= clock_max) {
clock.stop(); clock.stop();
clearInterval(countup); clearInterval(countup);
} }
}, 0); }, 0);}
-if @need.verified? -if @need.verified?
- @wish = @need.wishes.where(need_id: @need.id, customer_id: current_customer.id).first - @wish = @need.wishes.where(need_id: @need.id, customer_id: current_customer.id).first