You've already forked objdiff-web
mirror of
https://github.com/encounter/objdiff-web.git
synced 2026-03-30 11:32:18 -07:00
9 lines
253 B
TypeScript
9 lines
253 B
TypeScript
if (window.webviewProps?.resourceRoot) {
|
|
__webpack_public_path__ = window.webviewProps.resourceRoot;
|
|
}
|
|
const params = new URLSearchParams(window.location.search);
|
|
const theme = params.get('theme');
|
|
if (theme) {
|
|
document.body.classList.add(theme);
|
|
}
|