Commit c4206a4
Robert Jackson
Prevent errors when
The current implementation of `clear-double-render` guards for when
`fastboot-body-start` is not present, but does not check if
`fastboot-body-end` is present before attempting to remove it (therefore
causing an `Cannot call 'parentElement' of null` error).
Note: There are still some issues with this approach (e.g. why is
`fastboot-body-start` present but `fastboot-body-end` is missing), and
this change does not directly address all of the issues. It **does**
prevent a masking error from happening.fastboot-body-end is not present.1 parent 67f07ae commit c4206a4
3 files changed
Lines changed: 18 additions & 3 deletions
File tree
- addon/instance-initializers
- tests/integration/instance-initializers
- vendor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
39 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
0 commit comments