mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-07 22:12:15 -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) {
|
||||
if (elem) {
|
||||
return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return elem && !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
|
||||
}
|
||||
|
||||
doTarget(target, action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue