mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
Open site in new tab instead of same tab
This commit is contained in:
parent
b39fcf7aa2
commit
a24e8ed790
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@
|
|||
const val = document.getElementById('theme-select').value;
|
||||
let url = slug + '/';
|
||||
if (val) url += '?theme=' + encodeURIComponent('../themes/' + val);
|
||||
window.location.href = url;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in a new issue