mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
undefined conditional check
This commit is contained in:
parent
a83b518399
commit
2492b7a053
@ -308,7 +308,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
// let's see if we have a specific place to put it in
|
||||
// the pane
|
||||
let $prevElem = $(`.next_is_${mungedEvent.start_line}`);
|
||||
if ($prevElem.length) {
|
||||
if ($prevElem && $prevElem.length) {
|
||||
// if so, put it there
|
||||
$(`.next_is_${mungedEvent.start_line}`)
|
||||
.after($compile(mungedEvent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user