Adds ready method and fixes spelling
All checks were successful
On-Site VTT - Develop / build (push) Successful in 2m44s
All checks were successful
On-Site VTT - Develop / build (push) Successful in 2m44s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
function inti() {
|
||||
function init() {
|
||||
if (game.modules.get("on-site-vtt")?.active) {
|
||||
console.log("on-site-vtt | Enabled");
|
||||
|
||||
@@ -23,6 +23,9 @@ function inti() {
|
||||
}
|
||||
}
|
||||
|
||||
function ready() {
|
||||
console.log("on-site-vtt | Ready");
|
||||
}
|
||||
|
||||
function rotateView() {
|
||||
if (document.getElementsByTagName("body")[0].className.includes("nsvRotate")) {
|
||||
@@ -34,4 +37,5 @@ function rotateView() {
|
||||
}
|
||||
}
|
||||
|
||||
Hooks.on("init", init);
|
||||
Hooks.on("init", init);
|
||||
Hooks.on("ready", ready);
|
||||
Reference in New Issue
Block a user