waitlist.html - show 0 if none behind

This commit is contained in:
Adrian Tiberius 2016-09-18 07:46:33 +03:00
parent d77d57d3e4
commit 8b304f57a0
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@
"Remember to confirm your email to be added to the signup queue. <br /> Improve your position by referring your friends and spreading the word.");
jQuery("#maitre-share-container").html(
'<div class="footer-icons-social"><a href="#" class="footer-icon icon-email"></a><a href="#" class="footer-icon icon-twitter"></a><a href="#" class="footer-icon icon-facebook"></a></div>');
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');