mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
move approve buttons to the tab content
This commit is contained in:
parent
e1b8293fdd
commit
07b02d90e6
2 changed files with 29 additions and 13 deletions
|
@ -29,9 +29,10 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
|||
|
||||
var $ml = $('#movieList');
|
||||
var $tvl = $('#tvList');
|
||||
|
||||
if (target === "#TvShowTab") {
|
||||
|
||||
$('.approve-category').hide();
|
||||
if (target === "#TvShowTab") {
|
||||
$('#approveTVShows').show();
|
||||
if ($ml.mixItUp('isLoaded')) {
|
||||
activeState = $ml.mixItUp('getState');
|
||||
$ml.mixItUp('destroy');
|
||||
|
@ -40,6 +41,7 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
|||
$tvl.mixItUp(mixItUpConfig(activeState)); // init or reinit
|
||||
}
|
||||
if (target === "#MoviesTab") {
|
||||
$('#approveMovies').show();
|
||||
if ($tvl.mixItUp('isLoaded')) {
|
||||
activeState = $tvl.mixItUp('getState');
|
||||
$tvl.mixItUp('destroy');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue