1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00

Merge pull request #180 from lisenenkov/master

Update inspector.js
This commit is contained in:
Mike Gelfand 2017-02-12 18:45:27 +03:00 committed by GitHub
commit bbc0d8c5e4

View file

@ -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 {