mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 17:24:04 +01:00
Update Shared/Article Rendering/newsfoot.js
Good catch thanks Co-authored-by: Jed Fox <git@jedfox.com>
This commit is contained in:
parent
bffd341992
commit
bd71b5d79a
@ -143,7 +143,7 @@
|
|||||||
|
|
||||||
// Only override the default behaviour when we know we can find the
|
// Only override the default behaviour when we know we can find the
|
||||||
// target element
|
// target element
|
||||||
const targetElement = document.querySelector(`[id='${targetId}']`);
|
const targetElement = document.getElementById(targetId);
|
||||||
if (targetElement === null) return;
|
if (targetElement === null) return;
|
||||||
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user