mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
.
This commit is contained in:
parent
82fc8fe8b1
commit
e391b54810
@ -298,11 +298,6 @@ if (window.location.pathname === '/') {
|
|||||||
const iframe = document.createElement('iframe');
|
const iframe = document.createElement('iframe');
|
||||||
iframe.id = 'main_frame';
|
iframe.id = 'main_frame';
|
||||||
|
|
||||||
iframe.style.display = 'none';
|
|
||||||
iframe.addEventListener('load', () => {
|
|
||||||
iframe.style.display = '';
|
|
||||||
});
|
|
||||||
|
|
||||||
if (storage.local.get('lastVersion') === null) {
|
if (storage.local.get('lastVersion') === null) {
|
||||||
iframe.src = '/welcome/';
|
iframe.src = '/welcome/';
|
||||||
} else if (lastPage !== null) {
|
} else if (lastPage !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user