Fix bug where switching from #podcast to other media view would not work as intended
This commit is contained in:
parent
5b32553820
commit
6900af8d47
1 changed files with 1 additions and 6 deletions
|
@ -144,16 +144,11 @@ AIRTIME = (function(AIRTIME) {
|
|||
if (selected.parent().data("selection-id") == AIRTIME.library.MediaTypeEnum.PODCAST) {
|
||||
$("#library_display_wrapper").hide();
|
||||
$("#podcast_table_wrapper").show();
|
||||
|
||||
t = AIRTIME.library.podcastDataTable;
|
||||
} else {
|
||||
if (typeof oTable === 'undefined') {
|
||||
oTable = AIRTIME.library.libraryDataTable;
|
||||
}
|
||||
|
||||
$("#library_display_wrapper").show();
|
||||
$("#podcast_table_wrapper").hide();
|
||||
t = oTable;
|
||||
t = AIRTIME.library.libraryDataTable;
|
||||
}
|
||||
|
||||
dashboardLink.find("a").attr("href", selected.attr("href"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue