Ticket #5620: inspector.js.patch

File inspector.js.patch, 348 bytes (added by e-moe, 8 years ago)

/web/javascript/inspector.js.patch

Line 
1108a109
2>             uri,
3399c400,404
4<         setTextContent(e.comment_lb, str);
5---
6>         uri = parseUri(str);
7>         if (uri.protocol == 'http' || uri.parseUri == 'https')
8>             setInnerHTML(e.comment_lb, '<a href="' + str + '" target="_blank" >' + str + '</a>');
9>         else
10>             setTextContent(e.comment_lb, str);