mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
min icomment run thru
This commit is contained in:
parent
a1499013dc
commit
aad4f70304
@ -212,7 +212,7 @@ function setupUpdate() {
|
|||||||
updateDiv.classList.add("hidden");
|
updateDiv.classList.add("hidden");
|
||||||
})
|
})
|
||||||
|
|
||||||
//Take formdata values as newData when submit
|
//Take form data values as newData when submit
|
||||||
form.addEventListener("submit", function () {
|
form.addEventListener("submit", function () {
|
||||||
/*
|
/*
|
||||||
* User submits the form for their review.
|
* User submits the form for their review.
|
||||||
|
@ -32,8 +32,6 @@ function initFormHandler() {
|
|||||||
let searchBtn = document.getElementById("search-btn");
|
let searchBtn = document.getElementById("search-btn");
|
||||||
let searchTag = null;
|
let searchTag = null;
|
||||||
//adding search functionality
|
//adding search functionality
|
||||||
//TODO: Add ability to enter without refresh of search bar
|
|
||||||
//filter by selected tag when button clicked
|
|
||||||
searchBtn.addEventListener("click", function () {
|
searchBtn.addEventListener("click", function () {
|
||||||
searchTag = searchField.value;
|
searchTag = searchField.value;
|
||||||
sortAndFilter(searchTag);
|
sortAndFilter(searchTag);
|
||||||
@ -145,6 +143,7 @@ function loadReviews(index, reviewIDs) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//setting up service worker
|
||||||
const registerServiceWorker = async () => {
|
const registerServiceWorker = async () => {
|
||||||
if ("serviceWorker" in navigator) {
|
if ("serviceWorker" in navigator) {
|
||||||
try {
|
try {
|
||||||
|
@ -15,7 +15,6 @@ describe("test App end to end", async () => {
|
|||||||
root = false;
|
root = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//browser = await puppeteer.launch({headless: false, slowMo: 250, args: root ? ['--no-sandbox'] : undefined});
|
|
||||||
browser = await puppeteer.launch({ args: root ? ["--no-sandbox"] : undefined });
|
browser = await puppeteer.launch({ args: root ? ["--no-sandbox"] : undefined });
|
||||||
page = await browser.newPage();
|
page = await browser.newPage();
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user