Browse Source

Merge pull request #13396 from abpframework/unblock

Check `element.parentElement` not null.
pull/13397/head
liangshiwei 4 years ago
committed by GitHub
parent
commit
393528bc61
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      npm/packs/core/src/abp.js

4
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);
}

Loading…
Cancel
Save