mirror of
https://github.com/ION606/selmer-bot-website.git
synced 2026-05-14 22:16:54 +00:00
Added checking for sessionId
This commit is contained in:
@@ -172,9 +172,9 @@
|
||||
event.preventDefault();
|
||||
|
||||
const sid = window.localStorage.getItem('sessionId');
|
||||
// if (!sid) {
|
||||
// return alert("Please log in to send feedback!");
|
||||
// }
|
||||
if (!sid) {
|
||||
return alert("Please log in to send feedback!");
|
||||
}
|
||||
|
||||
const sbox = document.getElementById("sugbx");
|
||||
if (!sbox.value) { return; }
|
||||
|
||||
Reference in New Issue
Block a user