Open site in new tab instead of same tab

This commit is contained in:
Claude 2026-05-20 13:10:28 +00:00
parent b39fcf7aa2
commit a24e8ed790

View file

@ -487,7 +487,7 @@
const val = document.getElementById('theme-select').value; const val = document.getElementById('theme-select').value;
let url = slug + '/'; let url = slug + '/';
if (val) url += '?theme=' + encodeURIComponent('../themes/' + val); if (val) url += '?theme=' + encodeURIComponent('../themes/' + val);
window.location.href = url; window.open(url, '_blank');
} }
</script> </script>
</body> </body>