Skip to content

Commit

Permalink
fix: request and button close
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Apr 21, 2024
1 parent 9ec9f56 commit 73ec042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ <h1 class="font-esthetic text-center mb-3" style="font-size: 3rem;">Ucapan & Doa
<div id="information" class="alert alert-info alert-dismissible fade show" role="alert">
<p style="font-size: 1.5rem;">Bestieee!!!</p>
<p class="m-0">Sekarang bisa format text seperti whatsapp lohh... cobainn sekaranggg, makaciwww bestieee</p>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="localStorage.setItem('alertClosed', 'true'); document.getElementById('alertDiv').style.display = 'none';"></button>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="localStorage.setItem('alertClosed', 'true');"></button>
</div>
<textarea class="form-control shadow-sm" id="form-comment" rows="4" placeholder="Tulis Ucapan & Doa"></textarea>
</div>
Expand Down
2 changes: 1 addition & 1 deletion js/request.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const request = (method, path) => {
return this;
}

req.headers.append('X_ACCESS_KEY', token);
req.headers.append('x-access-key', token);
return this;
},
body(body) {
Expand Down

0 comments on commit 73ec042

Please sign in to comment.