From 9ebe6a367a6c8dfd408eaec77234c3377b53a356 Mon Sep 17 00:00:00 2001 From: Denis Lisov Date: Sat, 27 Apr 2024 17:30:58 +0300 Subject: [PATCH] applyStyle: fix typing --- ui/feedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/feedlist.js b/ui/feedlist.js index 6f0404b0..8da445b9 100644 --- a/ui/feedlist.js +++ b/ui/feedlist.js @@ -1266,6 +1266,6 @@ export let Commands = { (/** @type HTMLLinkElement */ (document.getElementById('custom-css'))).href = url; // Child window style let frame = /** @type HTMLIFrameElement */ (document.getElementById('feed-view')); - frame.contentDocument.getElementById('custom-css').href = url; + (/** @type HTMLLinkElement */ (frame.contentDocument.getElementById('custom-css'))).href = url; }, };