From 49413fbe3bb2a1bcec186b9a22d81abc4e458b94 Mon Sep 17 00:00:00 2001 From: gzbender Date: Wed, 22 Aug 2018 19:53:22 +0500 Subject: [PATCH] LIL-629 --- project/templates/blocks/promo.html | 9 ++------- web/src/js/modules/auth.js | 3 ++- 2 files changed, 4 insertions(+), 8 deletions(-) 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'),