From af5d1a1d8ca3e76737d1ef7cbd81f32398b01119 Mon Sep 17 00:00:00 2001 From: nikita Date: Thu, 13 Dec 2018 17:10:52 +0300 Subject: [PATCH] LIL-714 improvements --- project/templates/blocks/video.html | 2 +- web/src/js/modules/popup.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/templates/blocks/video.html b/project/templates/blocks/video.html index 0537a6b0..4a3a8517 100644 --- a/project/templates/blocks/video.html +++ b/project/templates/blocks/video.html @@ -1,7 +1,7 @@
Пробный урок
- Смотреть бесплатно diff --git a/web/src/js/modules/popup.js b/web/src/js/modules/popup.js index dba6e466..8d3079ba 100644 --- a/web/src/js/modules/popup.js +++ b/web/src/js/modules/popup.js @@ -48,7 +48,7 @@ $(document).ready(function () { return; } if(! emailValid(email)){ - $error.text('Пожалуйста, укажите коректную почту'); + $error.text('Пожалуйста, укажите корректную почту'); return; } const $loader = popup.find('.loading-loader'); @@ -102,7 +102,7 @@ $(document).ready(function () { const channel = $(e.target).data('channel'); const player = e.detail.player; let timeout = null; - const interval = 1000 * 10;// 60 * 2; // 2 min + const interval = 1000 * 60; // 1 min const pauseVideo = () => { timeout = setTimeout(() => { clearTimeout(timeout);