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