allow copying tabs too
This commit is contained in:
parent
8edcb8d044
commit
d608b7c08d
7 changed files with 75 additions and 48 deletions
|
|
@ -140,6 +140,11 @@ class ContextMenu extends UiWidget {
|
|||
|
||||
this.container.parentNode.removeChild(this.container)
|
||||
|
||||
// remove position fix
|
||||
this.container.style.bottom = ''
|
||||
this.container.style.right = ''
|
||||
this.container.style.marginRight = ''
|
||||
|
||||
}
|
||||
|
||||
document.removeEventListener('fast-click', this.clickHandler, true)
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ class UiTree extends UiWidget {
|
|||
while (parent !== this.list) {
|
||||
if (parent.classList.contains('container')) {
|
||||
parent.classList.add('expanded')
|
||||
this.expanded[parent.getAttribute('data-id')] = true
|
||||
}
|
||||
parent = parent.parentNode
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue