Correct page variable
This commit is contained in:
parent
fba096b8e2
commit
1d61bd07b4
2
main.js
2
main.js
|
@ -9,7 +9,7 @@ const button3 = document.getElementById('button3');
|
||||||
|
|
||||||
// Create variables that will get populated by loadContent() later
|
// Create variables that will get populated by loadContent() later
|
||||||
var page1 = "pages/about.html";
|
var page1 = "pages/about.html";
|
||||||
var page2 = "pages/about.html";
|
var page2 = "pages/social.html";
|
||||||
var page3 = "pages/about.html";
|
var page3 = "pages/about.html";
|
||||||
|
|
||||||
const contentArea = document.getElementById("page");
|
const contentArea = document.getElementById("page");
|
||||||
|
|
Loading…
Reference in New Issue