fixes v12

This commit is contained in:
rwanoux
2024-06-24 08:41:59 +02:00
parent 9d74f5fe14
commit f4a56aa6b0
61 changed files with 485 additions and 422 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export const registerHooks = function () {
if (rerollTitle) {
rerollTitle.addEventListener("click", () => { html[0].querySelector(".reroll").classList.toggle('visible') })
}
if (message.user._id != game.user._id || !game.user.isGM) {
if (message.author._id != game.user._id || !game.user.isGM) {
html[0].querySelectorAll("input").forEach(inp => inp.disabled = true);
html[0].querySelectorAll("div.reroll-from-effort").forEach(el => el.style.display = "none")
return