Browse Source

Ensure theme is transferred when visiting a linked resource.

qdn-on-chain-data
CalDescent 2 years ago
parent
commit
94f14a39e3
  1. 2
      src/main/resources/q-apps/q-apps.js

2
src/main/resources/q-apps/q-apps.js

@ -55,6 +55,8 @@ function buildResourceUrl(service, name, identifier, path) {
url = "/" + name; url = "/" + name;
if (path != null) url = url.concat((path.startsWith("/") ? "" : "/") + path); if (path != null) url = url.concat((path.startsWith("/") ? "" : "/") + path);
} }
url = url.concat((url.includes("?") ? "" : "?") + "&theme=" + _qdnTheme);
return url; return url;
} }

Loading…
Cancel
Save