Skip to content

Commit

Permalink
update function names
Browse files Browse the repository at this point in the history
  • Loading branch information
abuna1985 committed May 29, 2022
1 parent f95667b commit 891f3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async function setupTable() {
* Create HTML loading container
* @return {String} the HTML loading screen template
*/
function renderLoadingContainer() {
function displayLoadingContainer() {
return `
<div class='l-loading-container'>
<div class='is-loading'>
Expand Down Expand Up @@ -339,7 +339,7 @@ async function setupTable() {
// 3. INITS & EVENT LISTENERS

// Initial loading State
tableBody.innerHTML = renderLoadingContainer();
tableBody.innerHTML = displayLoadingContainer();
if (sessionStorage.getItem('userdata')) {
// Use the data from session storage
results = JSON.parse(sessionStorage.getItem('userdata'));
Expand Down

0 comments on commit 891f3f9

Please sign in to comment.