1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00
This commit is contained in:
Louis Vézina 2019-11-09 09:29:28 -05:00
parent 213163fe3e
commit 3ef76f12b9

View file

@ -81,7 +81,7 @@
$('.ui.accordion').accordion(); $('.ui.accordion').accordion();
const first_season_acc_title = document.getElementsByClassName("title")[0]; const first_season_acc_title = document.getElementsByClassName("title")[0];
first_season_acc_title.className += " active"; first_season_acc_title.className += " active";
const first_season_acc_content = document.getElementsByClassName("content")[0]; const first_season_acc_content = document.getElementsByClassName("content season")[0];
first_season_acc_content.className += " active"; first_season_acc_content.className += " active";
}); });
</script> </script>
@ -189,7 +189,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="content"> <div class="content season">
<table class="ui very basic single line selectable table"> <table class="ui very basic single line selectable table">
<thead> <thead>
<tr> <tr>
@ -663,7 +663,7 @@
render: function ( data, type, row ) { render: function ( data, type, row ) {
const array_release_info = data.release_info; const array_release_info = data.release_info;
let i; let i;
let text = '<div class="ui fluid accordion"><div class="title"><i class="dropdown icon"></i>...</div><div class="content">'; let text = '<div class="ui fluid accordion"><div class="title"><i class="dropdown icon"></i>...</div><div class="content season">';
for (i = 0; i < array_release_info.length; i++) { for (i = 0; i < array_release_info.length; i++) {
text += '<div class="ui tiny label" style="margin-bottom: 2px;">' + array_release_info[i] + '</div>'; text += '<div class="ui tiny label" style="margin-bottom: 2px;">' + array_release_info[i] + '</div>';
} }