Compare commits
1 Commits
dev-2023-1
...
dev-2023-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa3c98d2b7
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
function inti() {
|
function init() {
|
||||||
if (game.modules.get("on-site-vtt")?.active) {
|
if (game.modules.get("on-site-vtt")?.active) {
|
||||||
console.log("on-site-vtt | Enabled");
|
console.log("on-site-vtt | Enabled");
|
||||||
|
|
||||||
@@ -23,6 +23,9 @@ function inti() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ready() {
|
||||||
|
console.log("on-site-vtt | Ready");
|
||||||
|
}
|
||||||
|
|
||||||
function rotateView() {
|
function rotateView() {
|
||||||
if (document.getElementsByTagName("body")[0].className.includes("nsvRotate")) {
|
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