Added buttons to toggle sidebars
This commit is contained in:
parent
c0c3cf6963
commit
b7b3663122
5 changed files with 63 additions and 15 deletions
|
|
@ -44,6 +44,14 @@ window.onload = function() {
|
|||
getCaptures()
|
||||
}
|
||||
|
||||
|
||||
// Cosmetic methods
|
||||
function toggleClassToDiv(div_id, class_name) {
|
||||
document.getElementById(div_id).classList.toggle(class_name)
|
||||
}
|
||||
|
||||
// Microscope methods
|
||||
|
||||
function deleteCapture(capture_id) {
|
||||
function deleteCaptureCallback(response, status) {
|
||||
console.log(status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue