mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Style changes for AddSeries lookup.
This commit is contained in:
parent
1dcc323c48
commit
692f182b5e
@ -65,8 +65,7 @@ function bindSeriesAutoComplete(selector) {
|
||||
.data("autocomplete")._renderItem = function (ul, item) {
|
||||
return $("<li></li>")
|
||||
.data("item.autocomplete", item)
|
||||
.append("<a>" + item.DisplayedTitle + "</a>")
|
||||
.append("<div class='tvDbLink'>" + item.Url + "</div>")
|
||||
.append("<a>" + item.DisplayedTitle + "<div class='tvDbLink'>" + item.Url + "</div></a>")
|
||||
.appendTo(ul);
|
||||
};
|
||||
});
|
||||
|
@ -71,9 +71,10 @@
|
||||
$('#addSeriesAccordion').accordion("activate", false);
|
||||
});
|
||||
|
||||
$(document).on('click', '.tvDbLink', function () {
|
||||
$(document).on('click', '.tvDbLink', function (event) {
|
||||
var url = $(this).text();
|
||||
window.open(url, 'thetvdb');
|
||||
event.preventDefault();
|
||||
});
|
||||
</script>
|
||||
}
|
Loading…
Reference in New Issue
Block a user