mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Fix bugs with media info table
This commit is contained in:
parent
002cb93187
commit
6152a1e913
10 changed files with 55 additions and 60 deletions
|
@ -218,7 +218,7 @@ from plexpy import helpers
|
|||
</div>
|
||||
</div>
|
||||
<div class="table-card-back">
|
||||
<table class="display" id="sync_table" width="100%">
|
||||
<table class="display no-fixed" id="sync_table" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left" id="state">State</th>
|
||||
|
@ -471,15 +471,15 @@ from plexpy import helpers
|
|||
});
|
||||
|
||||
function recentlyWatched() {
|
||||
var widthVal = $('body').find("#user-recently-watched").width();
|
||||
var tmp = (widthVal-32) / 180;
|
||||
var widthVal = $("#user-recently-watched").width();
|
||||
var tmp = (widthVal-25) / 175;
|
||||
|
||||
if (tmp > 0) {
|
||||
containerSize = parseInt(tmp);
|
||||
var containerSize = parseInt(tmp);
|
||||
} else {
|
||||
containerSize = 1;
|
||||
var containerSize = 1;
|
||||
}
|
||||
|
||||
|
||||
// Populate recently watched
|
||||
$.ajax({
|
||||
url: 'get_user_recently_watched',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue