mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
commit
bbc0d8c5e4
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ function Inspector(controller) {
|
|||
str = none;
|
||||
}
|
||||
uri = parseUri(str);
|
||||
if (uri.protocol == 'http' || uri.parseUri == 'https') {
|
||||
if (uri.protocol == 'http' || uri.protocol == 'https') {
|
||||
str = encodeURI(str);
|
||||
setInnerHTML(e.comment_lb, '<a href="' + str + '" target="_blank" >' + str + '</a>');
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue