Skip to content

Commit

Permalink
update cdn/js/functions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Aug 14, 2024
1 parent 87af9e7 commit 3ab7d1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cdn/js/functions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const api = 'http://129.148.43.196:8080';

const $form_buy = [
// validacção do formulário de compra de itens
const $form_buy = [
{
id: ".buy #id",
condition: [
Expand Down Expand Up @@ -79,6 +80,7 @@ const $form_buy = [
]
},
];

function $message(text) {

$('#message').html('');
Expand All @@ -99,6 +101,7 @@ function $message(text) {
<b><i class="fas fa-info-circle"></i> informação:</b> ${text}</div></div>`);

};

function $validate(form, btn, bot) {

$(btn).addClass('disabled');
Expand Down

0 comments on commit 3ab7d1e

Please sign in to comment.