diff --git a/editor/js/ui/projects/projects.js b/editor/js/ui/projects/projects.js index 6e79a04f2..73ad88336 100644 --- a/editor/js/ui/projects/projects.js +++ b/editor/js/ui/projects/projects.js @@ -1521,7 +1521,7 @@ RED.projects = (function() { ''); var isSSH = false; - if (/^https?:\/\//) { + if (/^https?:\/\//.test(url)) { $('
'+ '
').appendTo(message); } else if (/^(?:ssh|[\d\w\.\-_]+@[\w\.]+):(?:\/\/)?/.test(url)) {