From 72ec4b29820ea84bec1ac6c87c8f73440331c756 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 7 May 2024 13:31:41 +0000 Subject: [PATCH] Fixup. Format code with Prettier --- pod/completion/static/js/completion.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pod/completion/static/js/completion.js b/pod/completion/static/js/completion.js index 66d8798e0a..46b99b0e7b 100644 --- a/pod/completion/static/js/completion.js +++ b/pod/completion/static/js/completion.js @@ -28,7 +28,6 @@ document.addEventListener("DOMContentLoaded", function () { var num = 0; var name = ""; - function show_form(data, form) { let form_el = document.getElementById(form); form_el.style.display = "none"; @@ -95,10 +94,11 @@ document.addEventListener("submit", (e) => { var form = "form_" + name_form; var list = "list_" + name_form; var action = e.target.querySelector("input[name=action]").value; - sendAndGetForm(e.target, action, name_form, form, list).then(r => "").catch(e => console.log("error", e)); + sendAndGetForm(e.target, action, name_form, form, list) + .then((r) => "") + .catch((e) => console.log("error", e)); }); - /** * Send and get form. *