Skip to content

Commit

Permalink
Some exceptions in mobile version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lincanbin committed Oct 9, 2015
1 parent d28fb78 commit 3c3ab3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/mobile.global.js
Expand Up @@ -471,7 +471,7 @@ function TopicParse() {
{
var a = AllLinks[i];
//console.log(a);
if(a.host != location.host){
if(a.host != location.host || a.href.indexOf("upload/") != -1){
a.setAttribute("target","_blank");
a.setAttribute("data-ignore","true");
}
Expand Down

0 comments on commit 3c3ab3d

Please sign in to comment.