diff --git a/project/templates/blocks/promo.html b/project/templates/blocks/promo.html index 26fb0795..f6f49349 100644 --- a/project/templates/blocks/promo.html +++ b/project/templates/blocks/promo.html @@ -51,20 +51,15 @@
{% if not is_purchased and not is_purchased_future %} купить доступ от {{ min_school_price }} руб./месяц - {% endif %} + {% else %} Подробнее + {% endif %}
{% endif %} diff --git a/web/src/js/modules/auth.js b/web/src/js/modules/auth.js index 09a9bae6..7df79e62 100644 --- a/web/src/js/modules/auth.js +++ b/web/src/js/modules/auth.js @@ -4,7 +4,8 @@ import isEmpty from 'validator/lib/isEmpty'; import isLength from 'validator/lib/isLength'; $(document).ready(function () { - let popup = $('.js-popup-auth'), + let auth = $('.js-auth'), + popup = $('.js-popup-auth'), type = auth.find('.js-auth-type'), tab = auth.find('.js-auth-tab'), login = auth.find('.js-auth-login'),