mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 21:22:26 -06:00
minor IE fixes
This commit is contained in:
parent
ad900e34bd
commit
8c94f92a67
|
|
@ -807,7 +807,7 @@ modal.load();
|
||||||
|
|
||||||
// toolbar
|
// toolbar
|
||||||
ebi('ops').innerHTML = (
|
ebi('ops').innerHTML = (
|
||||||
(IE ? '<span id="noie">' + L.ot_noie + '</span>' : '') +
|
//(IE ? '<span id="noie">' + L.ot_noie + '</span>' : '') +
|
||||||
'<a href="#" id="opa_srch" data-perm="read" data-dep="idx" data-dest="search" tt="' + L.ot_search + '">🔎</a>' +
|
'<a href="#" id="opa_srch" data-perm="read" data-dep="idx" data-dest="search" tt="' + L.ot_search + '">🔎</a>' +
|
||||||
(have_del ? '<a href="#" id="opa_del" data-perm="write" data-dest="unpost" tt="' + L.ot_unpost + '">🧯</a>' : '') +
|
(have_del ? '<a href="#" id="opa_del" data-perm="write" data-dest="unpost" tt="' + L.ot_unpost + '">🧯</a>' : '') +
|
||||||
'<a href="#" id="opa_up" data-dest="up2k">🚀</a>' +
|
'<a href="#" id="opa_up" data-dest="up2k">🚀</a>' +
|
||||||
|
|
@ -7399,8 +7399,13 @@ function onwidgetresize(){
|
||||||
var pbarthinpos = ebi('pbarthinpos');
|
var pbarthinpos = ebi('pbarthinpos');
|
||||||
var width = widget.offsetWidth;
|
var width = widget.offsetWidth;
|
||||||
|
|
||||||
var thin = IE || width < 800; //px
|
var thin = width < 800; //px
|
||||||
|
|
||||||
|
clmod(ebi('pathBar'), 'thin', thin);
|
||||||
|
clmod(ebi('wrap'), 'thin', thin);
|
||||||
|
|
||||||
|
thin = thin || IE;
|
||||||
|
|
||||||
var gtc = 'max-content max-content max-content ' + (thin ? '' : '20%') + ' auto max-content max-content max-content';
|
var gtc = 'max-content max-content max-content ' + (thin ? '' : '20%') + ' auto max-content max-content max-content';
|
||||||
if(!thin && bar.children.length < gtc.split(' ').length){
|
if(!thin && bar.children.length < gtc.split(' ').length){
|
||||||
try{
|
try{
|
||||||
|
|
@ -7426,8 +7431,6 @@ function onwidgetresize(){
|
||||||
bar.style.gridTemplateColumns = gtc;
|
bar.style.gridTemplateColumns = gtc;
|
||||||
|
|
||||||
clmod(widget, 'thin', thin);
|
clmod(widget, 'thin', thin);
|
||||||
clmod(ebi('pathBar'), 'thin', thin);
|
|
||||||
clmod(ebi('wrap'), 'thin', thin);
|
|
||||||
|
|
||||||
pbar.onresize();
|
pbar.onresize();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue