diff options
Diffstat (limited to 'web_src/js/features/common-issue.js')
-rw-r--r-- | web_src/js/features/common-issue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/common-issue.js b/web_src/js/features/common-issue.js index d7095a54a3..e894816fb6 100644 --- a/web_src/js/features/common-issue.js +++ b/web_src/js/features/common-issue.js @@ -20,7 +20,7 @@ export function initCommonIssue() { const issueIDs = $('.issue-checkbox').children('input:checked').map((_, el) => { return el.getAttribute('data-issue-id'); }).get().join(','); - if (elementId === '0' && url.substr(-9) === '/assignee') { + if (elementId === '0' && url.slice(-9) === '/assignee') { elementId = ''; action = 'clear'; } |