mirror of
https://github.com/ShinkoNet/Wplace-Overlay-Pro.git
synced 2026-01-11 22:40:37 +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" />
|
||||
// @ts-nocheck
|
||||
|
||||
import { bootstrapApp } from './app';
|
||||
import { bootstrapApp } from "./app";
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
bootstrapApp().catch(e => console.error('Overlay Pro bootstrap failed', e));
|
||||
"use strict";
|
||||
window.onload = () => {
|
||||
bootstrapApp().catch((e) =>
|
||||
console.error("Overlay Pro bootstrap failed", e),
|
||||
);
|
||||
};
|
||||
})();
|
||||
export {};
|
||||
export {};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue