From f4bcb32cee2e8e881e289773410399a586895809 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Mon, 21 Aug 2023 17:29:52 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20the=20code=20to=20all?= =?UTF-8?q?ow=20the=20button=20to=20toggle=20the=20error-box=20(#185)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/error_box.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/static/error_box.js b/public/static/error_box.js index bc22e5a..1e2e874 100644 --- a/public/static/error_box.js +++ b/public/static/error_box.js @@ -1,3 +1,7 @@ +/** + * This function provides the ability for the button to toggle the dropdown error-box + * in the search page. + */ function toggleErrorBox() { - + document.querySelector('.dropdown_error_box').classList.toggle('show') }