mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
move some of the thumbed logic to css
This commit is contained in:
parent
bb48914d14
commit
2ed8534698
|
|
@ -1026,6 +1026,10 @@ tr.play td:nth-child(1) a {
|
|||
.th_ext {
|
||||
display: none;
|
||||
}
|
||||
img {
|
||||
position: static;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.sel .gselchk {
|
||||
display: block;
|
||||
|
|
|
|||
|
|
@ -6729,14 +6729,12 @@ window.thegrid = (function () {
|
|||
|
||||
function th_onload(el) {
|
||||
set_loaded(el, true, false)
|
||||
el.style.position = 'static'
|
||||
el.style.opacity = '1'
|
||||
el.style.height = ''
|
||||
}
|
||||
|
||||
function set_loaded(el, state, dblcheck) {
|
||||
if(state && dblcheck) {
|
||||
testImage(el)
|
||||
testImage(el);
|
||||
return;
|
||||
}
|
||||
var p = el.parentElement.parentElement
|
||||
clmod(p, 'thumbed', state)
|
||||
|
|
|
|||
Loading…
Reference in a new issue