diff --git a/src/main/resources/templates/source/hotspot.html b/src/main/resources/templates/source/hotspot.html index 7d702b4..1036b77 100644 --- a/src/main/resources/templates/source/hotspot.html +++ b/src/main/resources/templates/source/hotspot.html @@ -30,12 +30,12 @@
-

+

[[${source.getSourceName()}]] -
+ [[${source.getCategoryName()}]] diff --git a/src/main/resources/templates/source/view.html b/src/main/resources/templates/source/view.html index 858712b..a632fbd 100644 --- a/src/main/resources/templates/source/view.html +++ b/src/main/resources/templates/source/view.html @@ -122,11 +122,7 @@ data: '', success: function (res) { this.disabled=false; - if (res.substr(0,4)!= 'http'){ - $('#downloadTrans').click(); - }else { - window.open(res); - } + window.open(res); } }); }