mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-10 16:57:45 +08:00
Minor improvements to manual search modals.
This commit is contained in:
parent
1663872198
commit
21a6d4b6fb
2 changed files with 10 additions and 2 deletions
|
@ -879,7 +879,11 @@
|
|||
{
|
||||
data: null,
|
||||
render: function (data) {
|
||||
return '<a href="' + data.url + '" target="_blank">' + data.provider + '</a>';
|
||||
if (data.url) {
|
||||
return '<a href="' + data.url + '" target="_blank">' + data.provider + '</a>';
|
||||
} else {
|
||||
return data.provider;
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -647,7 +647,11 @@
|
|||
},
|
||||
{ data: null,
|
||||
render: function ( data ) {
|
||||
return '<a href="'+data.url+'" target="_blank">'+data.provider+'</a>';
|
||||
if (data.url) {
|
||||
return '<a href="' + data.url + '" target="_blank">' + data.provider + '</a>';
|
||||
} else {
|
||||
return data.provider;
|
||||
}
|
||||
}
|
||||
},
|
||||
{ data: null,
|
||||
|
|
Loading…
Reference in a new issue