|
@@ -123,10 +123,11 @@ function showInfoSelect(){
|
|
|
selectedTab = 0;
|
|
|
showName = showLis[idx].name + "(" + showLis[idx].hisName + ")";
|
|
|
// showInfo(showLis[idx])
|
|
|
- renderTitleShow();
|
|
|
+
|
|
|
$('.content .infos').scrollTop(0)
|
|
|
$(".showWhich ul").css("display", "none")
|
|
|
$(".showWhichSelect").html(name).attr("title", name)
|
|
|
+ renderTitleShow();
|
|
|
})
|
|
|
$(".showWhichSelect").click(function (e) {
|
|
|
e.stopPropagation()
|
|
@@ -136,9 +137,9 @@ function showInfoSelect(){
|
|
|
$(".showWhich ul").css("display", "none")
|
|
|
})
|
|
|
}
|
|
|
-function renderTitleShow() {
|
|
|
+function renderTitleShow(name) {
|
|
|
document.title = showName;
|
|
|
- $(".titleCont .title").html($(".tabList .tab:eq(" + selectedTab + ")").attr("data-title"));
|
|
|
+ $(".titleCont .title").html($(".showWhich .showWhichSelect").attr("title"));
|
|
|
}
|
|
|
function renderContent(list, contentWrapClassName) {
|
|
|
$(`.${contentWrapClassName} .infos`).html('');
|