Made TheTvDb icon layout cleaner.

This commit is contained in:
Mark McDowall 2012-03-03 11:37:03 -08:00
parent 0ba781fd32
commit 3a3ba146d6
2 changed files with 1 additions and 7 deletions

View File

@ -65,7 +65,7 @@ function bindSeriesAutoComplete(selector) {
.data("autocomplete")._renderItem = function (ul, item) { .data("autocomplete")._renderItem = function (ul, item) {
return $("<li></li>") return $("<li></li>")
.data("item.autocomplete", item) .data("item.autocomplete", item)
.append("<a>" + item.DisplayedTitle + "<div class='tvDbLink' rel='" + item.Url + "'></div></a>") .append("<a>" + item.DisplayedTitle + "<img src='../../Content/Images/thetvdb.png' class='tvDbLink' title='Click to see series details from TheTVDB' rel='" + item.Url + "' /></a>")
.appendTo(ul); .appendTo(ul);
}; };
}); });

View File

@ -38,12 +38,6 @@
} }
.tvDbLink { .tvDbLink {
color: #065EFE;
background-repeat: no-repeat;
background-position: 5px center;
background-image:url('../../Content/Images/thetvdb.png');
width: 22px;
height: 20px;
float: right; float: right;
} }