Fix bugs with media info table
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user