Read project identifier from Trello board title

This commit is contained in:
manubo
2019-10-24 18:47:56 +02:00
parent 7e249202e5
commit 1214ae0a56

View File

@@ -91,6 +91,10 @@ export default {
document document
.querySelector(".js-title-helper") .querySelector(".js-title-helper")
?.textContent?.trim() ?.textContent?.trim()
?.match(projectRegex)?.[1] ||
document
.querySelector(".js-board-editing-target")
?.textContent?.trim()
?.match(projectRegex)?.[1], ?.match(projectRegex)?.[1],
}, },