Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ isElementInDOM
Function
isElementInDOM
static/mergely/editor/lib/tipsy/jquery.tipsy.js:12–17 ·
view source on GitHub ↗
(ele)
Source
from the content-addressed store, hash-verified
10
};
11
12
function
isElementInDOM(ele) {
13
while
(ele = ele.parentNode) {
14
if
(ele == document)
return
true;
15
}
16
return
false;
17
};
18
19
function
Tipsy(element, options) {
20
this.$element = $(element);
Callers
1
jquery.tipsy.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected