Added missing tests and sidebar files

This commit is contained in:
Kevin 2020-08-04 22:35:45 -05:00
parent ab10cea8b6
commit 5930f3bfad
6 changed files with 125 additions and 2 deletions

View file

@ -0,0 +1,18 @@
fetch('/shared/sidebar/sidebar.html', {
"method": "get",
headers: {
"token": webpass
}})
.then((resp) => resp.text())
.then(function(resp) {
document.getElementById('sidebarContainer').innerHTML = resp
})
window.addEventListener("keydown", function(event) {
if (event.key === "s"){
let quickviews = bulmaQuickview.attach()
document.getElementsByClassName('sidebarBtn')[0].click()
}
}, true)