xd v1.1.32

- fixed issue where iframes would be needlessly refreshed
main
Curtis 2024-07-23 23:54:09 -04:00
parent d25990dae4
commit 51f22496de
1 changed files with 3 additions and 1 deletions

View File

@ -199,7 +199,9 @@ onUiUpdate(function() {
iframes.forEach((iframe) => {
let iframeSrc = new URL(iframe.src);
iframeSrc.searchParams.set('__theme', theme);
iframe.src = iframeSrc.toString();
if(iframe.src != iframeSrc.toString()) {
iframe.src = iframeSrc.toString();
}
});
}