mirror of
https://github.com/sagidayan/greasemonkey-scripts.git
synced 2024-12-22 13:09:52 +00:00
Added links in Epics
This commit is contained in:
parent
c021fcfa11
commit
e157cd3af7
1 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
// Constants
|
||||
const LOG_TAG = '[BZ-LINKER]';
|
||||
const summaryRegExp = new RegExp(/>\[([0-9]+)\]/);
|
||||
const summaryRegExp = new RegExp(/\[([0-9]+)\]/);
|
||||
|
||||
// Entry point - observe DOM changes - and search for unlinked jira tickets
|
||||
var observer = new MutationObserver(update);
|
||||
|
@ -49,7 +49,8 @@ function filterAndInflate(rows) {
|
|||
if (r.tagName === 'TR' && !r.touched) {
|
||||
const summary = [...r.children].reduce((prev, child) => {
|
||||
if (prev) return prev;
|
||||
if (child.getAttribute('data-field-id') === 'summary' || child.className === 'summary') {
|
||||
if (child.getAttribute('data-field-id') === 'summary'
|
||||
|| child.className.indexOf('summary') != -1) {
|
||||
r.summaryElm = child;
|
||||
return child.innerHTML;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue