|
@@ -126,8 +126,8 @@ function getInfomation() {
|
|
|
getInfomation();
|
|
|
|
|
|
function addLinkClickEvent() {
|
|
|
- $("li:first").addClass("active");
|
|
|
- $("li>a").on("click", function () {
|
|
|
+ $(".anchors ul li:first").addClass("active");
|
|
|
+ $(".anchors ul li>a").on("click", function () {
|
|
|
$(".active").removeClass('active');
|
|
|
$(this).parent().addClass("active");
|
|
|
});
|