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
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ function Inspector(controller) {
str = none; str = none;
} }
uri = parseUri(str); uri = parseUri(str);
if (uri.protocol == 'http' || uri.parseUri == 'https') { if (uri.protocol == 'http' || uri.protocol == 'https') {
str = encodeURI(str); str = encodeURI(str);
setInnerHTML(e.comment_lb, '<a href="' + str + '" target="_blank" >' + str + '</a>'); setInnerHTML(e.comment_lb, '<a href="' + str + '" target="_blank" >' + str + '</a>');
} else { } else {