Skip to content

Commit

Permalink
fix deepsource
Browse files Browse the repository at this point in the history
  • Loading branch information
BastLast committed Aug 30, 2022
1 parent 2214276 commit 4717f33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/javascript/closeNotification.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
let Notification = document.getElementById("notification");
const Notification = document.getElementById("notification");
Notification.style.transform = "translateX(150%)";
Notification.classList.remove("hidden");
Notification.style.transform = "translateX(0%)";

/**
* @description Close the notification
*/
function closeModal() {
Notification.style.transform = "translateX(150%)";
Notification.classList.remove("hidden");
Expand Down

0 comments on commit 4717f33

Please sign in to comment.