From 41b1a9aabd05cd442977bcd4be7919806e7179a5 Mon Sep 17 00:00:00 2001 From: MatiasStorm Date: Tue, 12 May 2020 16:45:58 +0200 Subject: Reverted change in getTargets --- src/content/presenters/FollowPresenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/presenters/FollowPresenter.ts b/src/content/presenters/FollowPresenter.ts index b928b3f..e9105bc 100644 --- a/src/content/presenters/FollowPresenter.ts +++ b/src/content/presenters/FollowPresenter.ts @@ -130,7 +130,7 @@ export class FollowPresenterImpl implements FollowPresenter { const filtered = Array.prototype.filter.call( all, (element: HTMLElement) => { - const style = element.style; + const style = window.getComputedStyle(element); // AREA's 'display' in Browser style is 'none' return ( -- cgit v1.2.3