move action items to dropdown

This commit is contained in:
q
2016-07-04 19:56:47 +03:00
parent 488d0d8425
commit 17a1796b53
4 changed files with 27 additions and 16 deletions

View File

@@ -28,8 +28,8 @@ function hidetoggle(name) {
}}
}
}
function dropDown() {
document.getElementById("Dropdown").classList.toggle("show");
function dropDown(name) {
document.getElementById(name).classList.toggle("show");
}
// Close the dropdown menu if the user clicks outside of it