mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 07:45:50 -04:00
less is more
This commit is contained in:
parent
51977908ec
commit
426ca48554
@ -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…
x
Reference in New Issue
Block a user