mirror of
https://github.com/transmission/transmission
synced 2025-03-20 10:45:43 +00:00
fix torrent-list placement error when the inspector is visible
This commit is contained in:
parent
c516b1cce1
commit
98b77e89a5
1 changed files with 1 additions and 1 deletions
|
@ -1150,7 +1150,7 @@ Transmission.prototype =
|
|||
$('#inspector_close').toggle(visible);
|
||||
this.hideMobileAddressbar();
|
||||
} else {
|
||||
var w = visible ? $('#torrent_inspector').width() + 1 + 'px' : '0px';
|
||||
var w = visible ? $('#torrent_inspector').outerWidth() + 1 + 'px' : '0px';
|
||||
$('#torrent_container')[0].style.right = w;
|
||||
}
|
||||
setInnerHTML($('ul li#context_toggle_inspector')[0], (visible?'Hide':'Show')+' Inspector');
|
||||
|
|
Loading…
Add table
Reference in a new issue