mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
Pwa is done hopefully
This commit is contained in:
parent
3a6e6cfd93
commit
469f3eabc5
@ -30,7 +30,7 @@
|
||||
iframe.id = 'main_frame'
|
||||
|
||||
if (storage.local.get('lastVersion') === null) {
|
||||
iframe.src = '/welcome.html';
|
||||
iframe.src = '/welcome/';
|
||||
} else if (lastPage !== null) {
|
||||
iframe.src = lastPage;
|
||||
} else if (isMobile) {
|
||||
|
@ -71,7 +71,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<label for="offline-checkbox">Enable offline:</label>
|
||||
<label for="offline-checkbox">Enable offline use:</label>
|
||||
<input type="checkbox" id="offline-checkbox" />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<option value="starfall">Starfall</option>
|
||||
<option value="campfire">Campfire</option>
|
||||
</select>
|
||||
<label for="offline-checkbox">Enable offline:</label>
|
||||
<label for="offline-checkbox">Enable offline use:</label>
|
||||
<input type="checkbox" id="offline-checkbox" />
|
||||
<button type="submit" class="setup-submit">Submit</button>
|
||||
</form>
|
@ -38,7 +38,7 @@ if (window.location.pathname === '/settings/') {
|
||||
});
|
||||
}
|
||||
|
||||
if (window.location.pathname === '/welcome.html') {
|
||||
if (window.location.pathname === '/welcome/') {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const setupForm = document.getElementById('setup-form') as HTMLFormElement;
|
||||
const usernameInput = document.getElementById('username-input') as HTMLInputElement;
|
||||
|
Loading…
x
Reference in New Issue
Block a user