Spaces:
Running
Running
Update script.js
Browse files
script.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
window.onload = async function () {
|
| 2 |
const queryParams = new URLSearchParams(window.location.search);
|
| 3 |
const itemDescription = queryParams.get('itemDescription');
|
| 4 |
-
|
| 5 |
if (!itemDescription) {
|
| 6 |
alert("No item description provided!");
|
| 7 |
return;
|
|
|
|
| 1 |
window.onload = async function () {
|
| 2 |
const queryParams = new URLSearchParams(window.location.search);
|
| 3 |
const itemDescription = queryParams.get('itemDescription');
|
| 4 |
+
consol.log(itemDescription)
|
| 5 |
if (!itemDescription) {
|
| 6 |
alert("No item description provided!");
|
| 7 |
return;
|