feat: the + menu without descriptions, narrower
This commit is contained in:
1 parent
00617451aa
commit
bfa38e7d18
2 files changed
+2
-2
No files matched your search
@@ -477,7 +477,7 @@
|
||||
// A group: «Терминал ›» or «Файловый менеджер ›», opening to here, the
|
||||
// other machines and an SSH host.
|
||||
const group = (icon, label, kind, sshKind, mode) => {
|
||||
const g = item(addMenu, '<span class="ico">' + icon + '</span><span><b>' + label + '</b><small>здесь, на другой машине или по SSH</small></span><span class="chev">›</span>', () => {
|
||||
const g = item(addMenu, '<span class="ico">' + icon + '</span><span><b>' + label + '</b></span><span class="chev">›</span>', () => {
|
||||
if (g.nextSibling && g.nextSibling.classList && g.nextSibling.classList.contains('mlist')) { g.nextSibling.remove(); placeMenu(anchor); return; }
|
||||
addMenu.querySelectorAll('.mlist').forEach(x => x.remove());
|
||||
const list = document.createElement('div');
|
||||
|
||||
Reference in new issue
Block a user