From 315d373d2d5e373e7eec1241df6047f16c6ca820 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 25 Nov 2021 13:06:12 +0530 Subject: [PATCH] fix: hide notify me button on callback --- school/public/css/style.css | 1 + school/www/courses/course.js | 1 + 2 files changed, 2 insertions(+) diff --git a/school/public/css/style.css b/school/public/css/style.css index adb77517..1b7784d3 100644 --- a/school/public/css/style.css +++ b/school/public/css/style.css @@ -319,6 +319,7 @@ input[type=checkbox] { background: #E2E6E9; border-radius: 8px; margin-top: 16px; + box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.02), 0px 0px 8px rgba(0, 0, 0, 0.04); } @media (max-width: 768px) { diff --git a/school/www/courses/course.js b/school/www/courses/course.js index 2ad14d95..4a5c3c81 100644 --- a/school/www/courses/course.js +++ b/school/www/courses/course.js @@ -216,6 +216,7 @@ var notify_user = (e) => { }, callback: (data) => { $("#interest-alert").removeClass("hide"); + $("#notify-me").addClass("hide"); } }) }