mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 21:52:25 -06:00
auto stop file column picking when dropdown closed, hide column hide buttons
This commit is contained in:
parent
027558896a
commit
c61f6164f2
|
|
@ -2249,7 +2249,7 @@ html.b .btn {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
#files th:hover .cfg {
|
#files th:hover .cfg {
|
||||||
display: block;
|
display: none;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
margin: -1.2em auto 0 auto;
|
margin: -1.2em auto 0 auto;
|
||||||
|
|
@ -3517,7 +3517,7 @@ details .setting {
|
||||||
details {
|
details {
|
||||||
border: var(--bg-u3) solid 1px;
|
border: var(--bg-u3) solid 1px;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
margin: .3em 0;
|
margin: .3em;
|
||||||
}
|
}
|
||||||
details:not(.open) .setting {
|
details:not(.open) .setting {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
||||||
|
|
@ -6186,6 +6186,10 @@ window.thegrid = (function () {
|
||||||
|
|
||||||
ebi('h_hidden').onclick = function () {
|
ebi('h_hidden').onclick = function () {
|
||||||
clmod(this.parentElement, 'open', 't');
|
clmod(this.parentElement, 'open', 't');
|
||||||
|
if(!clgot(this.parentElement, 'open') && filecols.picking){
|
||||||
|
filecols.unpick();
|
||||||
|
clmod(ebi('hcolsh'), 'on', r.picking)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var r = {
|
var r = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue