Skip to content

Commit

Permalink
Update: Enhanced loading times (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed May 23, 2024
1 parent 63208fe commit 70e0e54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 0 additions & 6 deletions MovieVerse-Backend/crawler/datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
'https://www.the-numbers.com/movie/weekly-per-theater-chart',
'https://www.the-numbers.com/movie/theater-count',
'https://www.the-numbers.com/movie/market',
'https://www.the-numbers.com/movie/production-countries',
'https://www.the-numbers.com/movie/production-method',
'https://www.the-numbers.com/movie/source',
'https://www.the-numbers.com/movie/production-status',
'https://www.the-numbers.com/movie/production-countries',
'https://www.the-numbers.com/movie/languages',
'https://www.the-numbers.com/movie/certifications',
'https://www.the-numbers.com/movie/mpaa-ratings',
Expand All @@ -50,8 +46,6 @@
'https://www.the-numbers.com/movie/genres',
'https://www.the-numbers.com/movie/franchises',
'https://www.the-numbers.com/movie/creative-type',
'https://www.the-numbers.com/movie/production-method',
'https://www.the-numbers.com/movie/source',
]

def fetch_from_sources():
Expand Down
6 changes: 3 additions & 3 deletions MovieVerse-Frontend/js/comments-tv.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ commentForm.addEventListener("submit", async (e) => {
}
});

var modal = document.getElementById("comment-modal");
var btn = document.getElementById("toggle-comment-modal");
var span = document.getElementsByClassName("close")[0];
let modal = document.getElementById("comment-modal");
let btn = document.getElementById("toggle-comment-modal");
let span = document.getElementsByClassName("close")[0];

btn.onclick = function() {
modal.style.display = "block";
Expand Down
6 changes: 3 additions & 3 deletions MovieVerse-Frontend/js/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ commentForm.addEventListener("submit", async (e) => {
}
});

var modal = document.getElementById("comment-modal");
var btn = document.getElementById("toggle-comment-modal");
var span = document.getElementsByClassName("close")[0];
let modal = document.getElementById("comment-modal");
let btn = document.getElementById("toggle-comment-modal");
let span = document.getElementsByClassName("close")[0];

btn.onclick = function() {
modal.style.display = "block";
Expand Down

0 comments on commit 70e0e54

Please sign in to comment.