Update NuGet packages x timbratrice (bootstrap)

This commit is contained in:
2020-01-28 12:47:53 +01:00
parent c4c9a7da17
commit d1d60570fb
127 changed files with 30720 additions and 3264 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* Finds the root node (document, shadowDOM root) of the given element
* @method
* @memberof Popper.Utils
* @argument {Element} node
* @returns {Element} root node
*/
export default function getRoot(node) {
if (node.parentNode !== null) {
return getRoot(node.parentNode);
}
return node;
}