mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-07 14:02:24 -04:00
less is more
This commit is contained in:
parent
51977908ec
commit
426ca48554
1 changed files with 1 additions and 5 deletions
|
@ -124,11 +124,7 @@ class UmbraBehavior {
|
||||||
}
|
}
|
||||||
|
|
||||||
isVisible(elem) {
|
isVisible(elem) {
|
||||||
if (elem) {
|
return elem && !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
|
||||||
return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
doTarget(target, action) {
|
doTarget(target, action) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue