Spaces:
Running
Running
Update static/hellopagejs.js
Browse files- static/hellopagejs.js +2 -2
static/hellopagejs.js
CHANGED
@@ -3,10 +3,10 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
3 |
const QA = document.querySelector('.QA');
|
4 |
console.log("hello")
|
5 |
SC.addEventListener('click', function () {
|
6 |
-
window.location.href = '/summarization'; // Redirect to Summarization app
|
7 |
});
|
8 |
|
9 |
QA.addEventListener('click', function () {
|
10 |
-
window.location.href = '/qtAnswering'; // Redirect to Question Answering app
|
11 |
});
|
12 |
});
|
|
|
3 |
const QA = document.querySelector('.QA');
|
4 |
console.log("hello")
|
5 |
SC.addEventListener('click', function () {
|
6 |
+
window.location.href = '/summarization/'; // Redirect to Summarization app
|
7 |
});
|
8 |
|
9 |
QA.addEventListener('click', function () {
|
10 |
+
window.location.href = '/qtAnswering/'; // Redirect to Question Answering app
|
11 |
});
|
12 |
});
|