allow copying tabs too

This commit is contained in:
bordun 2020-03-06 16:47:59 +01:00
parent 49ac867c63
commit 07b67f10d2
7 changed files with 75 additions and 48 deletions

View file

@ -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)

View file

@ -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
}