Fix bugs with media info table

This commit is contained in:
Jonathan Wong 2016-01-15 22:15:45 -08:00
commit 6152a1e913
10 changed files with 55 additions and 60 deletions

View file

@ -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',