更新 theme/js/page.js
Build and Publish / Run (push) Successful in 5m29s
Details
Build and Publish / Run (push) Successful in 5m29s
Details
This commit is contained in:
parent
6f2a135b4b
commit
55a044a670
|
@ -46,7 +46,7 @@ function changePage(url) {
|
||||||
var title = virtualtag.getElementsByTagName("title")[0].innerText;
|
var title = virtualtag.getElementsByTagName("title")[0].innerText;
|
||||||
old_tag.innerHTML = virtualtag.getElementsByClassName("mdui-prose")[0].innerHTML;
|
old_tag.innerHTML = virtualtag.getElementsByClassName("mdui-prose")[0].innerHTML;
|
||||||
old_topbar_tag.innerHTML = virtualtag.getElementsByClassName("topbar")[0].innerHTML;
|
old_topbar_tag.innerHTML = virtualtag.getElementsByClassName("topbar")[0].innerHTML;
|
||||||
old_navcard_tag.innerHTML = document.getElementById("navcard").innerHTML;
|
old_navcard_tag.innerHTML = virtualtag.getElementById("navcard").innerHTML;
|
||||||
|
|
||||||
var elements = document.querySelectorAll('[active]');
|
var elements = document.querySelectorAll('[active]');
|
||||||
elements.forEach(element => {
|
elements.forEach(element => {
|
||||||
|
|
Reference in New Issue