Add supporting themes required for Lotusdocs
This commit is contained in:
6
themes/hugo-mod-jslibs-dist/popperjs/package/dist/esm/dom-utils/getDocumentElement.js
vendored
Normal file
6
themes/hugo-mod-jslibs-dist/popperjs/package/dist/esm/dom-utils/getDocumentElement.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { isElement } from "./instanceOf.js";
|
||||
export default function getDocumentElement(element) {
|
||||
// $FlowFixMe[incompatible-return]: assume body is always available
|
||||
return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
|
||||
element.document) || window.document).documentElement;
|
||||
}
|
||||
Reference in New Issue
Block a user