wanders & mod time added
This commit is contained in:
9
public/js/wander.js
Normal file
9
public/js/wander.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function GetWanderCount(){
|
||||
let element = document.getElementById('wander-count')
|
||||
|
||||
fetch('../json/counter.json')
|
||||
.then((response) => response.json())
|
||||
.then((json) => element.innerHTML = json['count']);
|
||||
}
|
||||
|
||||
GetWanderCount()
|
||||
Reference in New Issue
Block a user