mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-26 17:09:09 +00:00
min icomment run thru
This commit is contained in:
parent
a1499013dc
commit
aad4f70304
@ -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