diff options
| author | Pitu <[email protected]> | 2017-01-17 17:24:20 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-17 17:24:20 -0300 |
| commit | e466f85a4e5fa7097b5657b2f30df55dad5d2589 (patch) | |
| tree | f405e17d86361281f3baf292d88e81f1f50cd6cb /public/js | |
| parent | Removed unused columns on mobile (diff) | |
| download | host.fuwn.me-e466f85a4e5fa7097b5657b2f30df55dad5d2589.tar.xz host.fuwn.me-e466f85a4e5fa7097b5657b2f30df55dad5d2589.zip | |
Made dashboard not load up login by default
Diffstat (limited to 'public/js')
| -rw-r--r-- | public/js/panel.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/panel.js b/public/js/panel.js index df977cb..27af9f8 100644 --- a/public/js/panel.js +++ b/public/js/panel.js @@ -5,6 +5,7 @@ panel.token = localStorage.admintoken; panel.preparePage = function(){ if(!panel.token){ + document.getElementById('auth').style.display = 'flex'; document.getElementById('tokenSubmit').addEventListener('click', function(){ panel.verifyToken(document.getElementById('token').value); }); |