From 8b304f57a06d2a816bbda24a0d0cda84eb0ac79b Mon Sep 17 00:00:00 2001 From: Adrian Tiberius Date: Sun, 18 Sep 2016 07:46:33 +0300 Subject: [PATCH] waitlist.html - show 0 if none behind --- src/waitlist.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/waitlist.html b/src/waitlist.html index c1fbb22..6582606 100644 --- a/src/waitlist.html +++ b/src/waitlist.html @@ -105,6 +105,11 @@ "Remember to confirm your email to be added to the signup queue.
Improve your position by referring your friends and spreading the word."); jQuery("#maitre-share-container").html( ''); + var behindNumberElement = jQuery("#maitre-people-behind-number"); + var behindNumber = behindNumberElement.html(); + if (behindNumber == "") { + behindNumberElement.html("0"); + } jQuery(".gradient-text").empty(); if (data.response == "subscriber_created") { ga('send', 'event', 'Waitlist', 'Sign Up', 'Waitlist');