#317 dropdown menu with library

This commit is contained in:
cutls
2020-09-07 16:36:25 +09:00
parent ec1481aed0
commit 9623b79197
5 changed files with 33 additions and 86 deletions

View File

@@ -680,7 +680,11 @@ function staEx(mode) {
})
return
}
function toggleAction(elem, ct) {
function toggleAction(id) {
console.log(document.getElementById(id))
var instance = M.Dropdown.init(document.getElementById(id));
instance.open()
return
var height = ct * 39 + 6
var cont = elem.parents('.cvo').find('.contextMenu')
if (cont.hasClass('hide')) {