diff --git a/tlapbot/static/dashboard.js b/tlapbot/static/dashboard.js index 193529b..bc64174 100644 --- a/tlapbot/static/dashboard.js +++ b/tlapbot/static/dashboard.js @@ -15,5 +15,9 @@ function openTab(event, tabName) { // Show the current tab, and add an "active" class to the button that opened the tab document.getElementById(tabName).style.display = "block"; - evt.currentTarget.className += " active"; - } \ No newline at end of file + event.currentTarget.className += " active"; + } + +function refreshPage() { + window.location.reload(); +} \ No newline at end of file diff --git a/tlapbot/templates/dashboard.html b/tlapbot/templates/dashboard.html index 58ef153..74d8a35 100644 --- a/tlapbot/templates/dashboard.html +++ b/tlapbot/templates/dashboard.html @@ -110,10 +110,11 @@ + + - -