From 81001825a3ec6196df54a85becc8a9b02c7d6e2d Mon Sep 17 00:00:00 2001 From: Gregorio Chiko Putra Date: Sat, 16 Sep 2017 13:23:41 +0700 Subject: [PATCH] Now, info label removed after fadded out --- App/Views/base.html | 1 + public/index.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/App/Views/base.html b/App/Views/base.html index 235baf2..8696b67 100644 --- a/App/Views/base.html +++ b/App/Views/base.html @@ -187,6 +187,7 @@ } if (fadeTarget.style.opacity < 0.1) { clearInterval(fadeEffect); + fadeTarget.remove(); } else { fadeTarget.style.opacity -= 0.1; } diff --git a/public/index.php b/public/index.php index 4797bcc..34953ce 100644 --- a/public/index.php +++ b/public/index.php @@ -13,10 +13,10 @@ set_exception_handler("Core\Error::exceptionHandler"); if (Core\Session::exists('info')) { echo ' -
+

- '; + '; echo Core\Session::flash('info'); echo '