mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
fix
This commit is contained in:
parent
edee0cdb53
commit
5806d693d1
@ -108,10 +108,11 @@ const game = {
|
||||
if (console) console.style.display = 'flex';
|
||||
|
||||
if (!window.gameWindow || window.gameWindow.closed) {
|
||||
const noPopup = storage.local.get('noPopup');
|
||||
window.gameWindow = window.open(
|
||||
'about:blank',
|
||||
'_blank',
|
||||
`popup=${storage.local.get('noPopup') ? 'false' : 'true'}`,
|
||||
`popup=${noPopup ? 'false' : 'true'}`,
|
||||
);
|
||||
if (window.gameWindow) {
|
||||
window.gameWindow.document.title = 'MineXLauncher';
|
||||
|
Loading…
x
Reference in New Issue
Block a user