mirror of
https://github.com/ShinkoNet/Wplace-Overlay-Pro.git
synced 2026-04-21 11:51:58 +00:00
Merge pull request #1 from rice-cracker-dev/fix-load
fix script not loading on firefox
This commit is contained in:
commit
70a841aa69
1 changed files with 9 additions and 4 deletions
13
src/main.ts
13
src/main.ts
|
|
@ -1,10 +1,15 @@
|
||||||
/// <reference types="tampermonkey" />
|
/// <reference types="tampermonkey" />
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
|
|
||||||
import { bootstrapApp } from './app';
|
import { bootstrapApp } from "./app";
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
"use strict";
|
||||||
bootstrapApp().catch(e => console.error('Overlay Pro bootstrap failed', e));
|
window.onload = () => {
|
||||||
|
bootstrapApp().catch((e) =>
|
||||||
|
console.error("Overlay Pro bootstrap failed", e),
|
||||||
|
);
|
||||||
|
};
|
||||||
})();
|
})();
|
||||||
export {};
|
export {};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue