Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6ac6b8960 | ||
|
|
33e768694f |
+2
-2
@@ -5,8 +5,8 @@
|
||||
"version": "0.1.0",
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13.350",
|
||||
"maximum": "13"
|
||||
"verified": "14",
|
||||
"maximum": "14"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
|
||||
@@ -106,6 +106,7 @@ class SlaOpsClockApp extends FormApplication {
|
||||
}
|
||||
|
||||
function installSceneButton(app, html) {
|
||||
if (!game.user?.isGM) return;
|
||||
const root = getHtmlRoot(html);
|
||||
const header = root?.querySelector(".directory-header .header-actions, .directory-header .action-buttons");
|
||||
if (!header || header.querySelector(".sla-ops-clock-open")) return;
|
||||
|
||||
Reference in New Issue
Block a user