Commit fe059180 authored by Mengyun Yang's avatar Mengyun Yang Committed by Yuxin Wu

Fix group name (#537)

* Refactoring javascript to show class name

* fixing group name

* fixing group name

* fixing group name
parent 091568ec
......@@ -40,4 +40,4 @@ $(function (){
.append(l);
customIndex.append(ul);
});
});
\ No newline at end of file
......@@ -8,7 +8,7 @@ $(function (){
selected.each(function(i,e) {
var groupName = $(e).find('a.internal')[0].href;
var groupName = $(e).find('a')[0].href;
groupName = groupName.substr(groupName.lastIndexOf('/')+1);
groupName = groupName.substr(0,groupName.lastIndexOf(".html"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment