From 8ac143105b33761080a80a2e0b1af56020f3c10a Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Feb 2023 22:05:57 +0000 Subject: [PATCH] hotfix --- application/static/src/choiceChange.js | 14 -------------- application/templates/index.html | 12 ++++++++++++ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/application/static/src/choiceChange.js b/application/static/src/choiceChange.js index 9992ac3..430ccc7 100644 --- a/application/static/src/choiceChange.js +++ b/application/static/src/choiceChange.js @@ -1,17 +1,3 @@ - -function docsIndex() { - // loads latest index from https://raw.githubusercontent.com/arc53/DocsHUB/main/combined.json - // and stores it in localStorage - fetch('https://raw.githubusercontent.com/arc53/DocsHUB/main/combined.json') - .then(response => response.json()) - .then(data => { - console.log('Success:', data); - localStorage.setItem("docsIndex", JSON.stringify(data)); - } - ) - -} - document.getElementById("select-docs").addEventListener("change", function() { localStorage.setItem('activeDocs', this.value) fetch('/api/docs_check', { diff --git a/application/templates/index.html b/application/templates/index.html index 2e7b0ce..c9c2fb0 100644 --- a/application/templates/index.html +++ b/application/templates/index.html @@ -96,6 +96,18 @@ This will return a new DataFrame with all the columns from both tables, and only