2 Commits
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
"version": "0.1.0",
"compatibility": {
"minimum": "13",
"verified": "13.350",
"maximum": "13"
"verified": "14",
"maximum": "14"
},
"authors": [
{
+1
View File
@@ -123,6 +123,7 @@ class SlaNpcDirectorApp extends FormApplication {
}
function appendOpenButton(root, selector, className, label) {
if (!game.user?.isGM) return false;
const header = root?.querySelector(selector);
if (!header || header.querySelector(`.${className}`)) return false;
const button = document.createElement("button");