1
0
Fork 0
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:
Jordan Lee 2011-10-22 06:27:07 +00:00
parent c516b1cce1
commit 98b77e89a5

View file

@ -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');