Minor changes

This commit is contained in:
2016-11-14 00:34:01 +09:00
parent e6c17a67c3
commit e23f843450
11 changed files with 394 additions and 5 deletions

12
scripts/admin.ts Normal file
View File

@ -0,0 +1,12 @@
document.addEventListener('keydown', e => {
// Alt + A = Staff info
if(e.keyCode === 65 && e.altKey) {
let staffInfo = $('staff-info')
if(staffInfo.style.display !== 'block') {
staffInfo.style.display = 'block'
} else {
staffInfo.style.display = 'none'
}
}
})