Skip to content

Commit

Permalink
Fixup. Format code with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 7, 2024
1 parent f055954 commit 72ec4b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pod/completion/static/js/completion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit 72ec4b2

Please sign in to comment.