summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-projects.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-projects.js')
-rw-r--r--web_src/js/features/repo-projects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-projects.js b/web_src/js/features/repo-projects.js
index 5d40096220..cd38c41e2d 100644
--- a/web_src/js/features/repo-projects.js
+++ b/web_src/js/features/repo-projects.js
@@ -6,7 +6,7 @@ const {csrfToken} = window.config;
function updateIssueCount(cards) {
const parent = cards.parentElement;
const cnt = parent.getElementsByClassName('board-card').length;
- parent.getElementsByClassName('board-card-cnt')[0].innerText = cnt;
+ parent.getElementsByClassName('board-card-cnt')[0].textContent = cnt;
}
function moveIssue({item, from, to, oldIndex}) {