Skip to content

Commit e0aad57

Browse files
author
p01
committed
Fixed detection of relative urls
1 parent c641767 commit e0aad57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource-manager/resource_display_broker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cls.ResourceDisplayBroker = function()
4242
if (url)
4343
{
4444
// resolve the URL based on that of the runtime if we only have a relative path
45-
if (runtime && url.contains("://"))
45+
if (runtime && !url.contains("://"))
4646
url = window.helpers.resolveURLS(runtime.uri, url);
4747

4848
id_or_url = url;

0 commit comments

Comments
 (0)