Updated dashboard.js

I forgot to set the "Preferred file length" menu active when clicked.
This commit is contained in:
Bobby Wibowo 2018-03-24 21:49:44 +07:00
parent 6dccd1c982
commit 20f8fd4957
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v=V2RnA3Mwhh">
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v=V2RnA3Mwhh"></script>
<script type="text/javascript" src="libs/axios/axios.min.js?v=V2RnA3Mwhh"></script>
<script type="text/javascript" src="js/dashboard.js?v=ugMWEbHDxs"></script>
<script type="text/javascript" src="js/dashboard.js?v=fna8s7BYGe"></script>
<!-- Open Graph tags -->
<meta property="og:type" content="website" />

View File

@ -63,6 +63,10 @@ panel.prepareDashboard = function () {
panel.setActiveMenu(this)
})
document.getElementById('itemFileLength').addEventListener('click', function () {
panel.setActiveMenu(this)
})
document.getElementById('itemTokens').addEventListener('click', function () {
panel.setActiveMenu(this)
})