mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
parent
deefe7225d
commit
3e579ee1d4
@ -113,6 +113,10 @@ $(document).ready(function(){
|
|||||||
if (e.which == 2 || e.ctrlKey) // open in new tab
|
if (e.which == 2 || e.ctrlKey) // open in new tab
|
||||||
return true;
|
return true;
|
||||||
if (!$(this).data('expanded')) {
|
if (!$(this).data('expanded')) {
|
||||||
|
|
||||||
|
if (~this.parentNode.className.indexOf('multifile'))
|
||||||
|
$(this).data('width') = this.parentNode.style.width;
|
||||||
|
|
||||||
this.parentNode.removeAttribute('style');
|
this.parentNode.removeAttribute('style');
|
||||||
$(this).data('expanded', 'true');
|
$(this).data('expanded', 'true');
|
||||||
|
|
||||||
@ -144,7 +148,7 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (~this.parentNode.className.indexOf('multifile'))
|
if (~this.parentNode.className.indexOf('multifile'))
|
||||||
this.parentNode.style.width = (parseInt($(this).data('width'))+40)+'px';
|
this.parentNode.style.width = $(this).data('width');
|
||||||
|
|
||||||
thumb.style.opacity = '';
|
thumb.style.opacity = '';
|
||||||
thumb.style.display = '';
|
thumb.style.display = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user