Browse Source
Merge pull request #13396 from abpframework/unblock
Check `element.parentElement` not null.
pull/13397/head
liangshiwei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
npm/packs/core/src/abp.js
|
|
|
@ -372,7 +372,9 @@ var abp = abp || {}; |
|
|
|
setTimeout(function () { |
|
|
|
if (element) { |
|
|
|
element.classList.remove('abp-block-area-disappearing'); |
|
|
|
element.parentElement.removeChild(element); |
|
|
|
if (element.parentElement) { |
|
|
|
element.parentElement.removeChild(element); |
|
|
|
} |
|
|
|
} |
|
|
|
}, 250); |
|
|
|
} |
|
|
|
|