mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge branch 'youtube-integration' into super-cut
This commit is contained in:
@@ -155,18 +155,6 @@ function postRenderProcessing() {
|
||||
showFeedInspectorSetup();
|
||||
}
|
||||
|
||||
function onResize() {
|
||||
const meta = document.querySelector("meta[name=viewport]");
|
||||
|
||||
if (!meta) return;
|
||||
|
||||
const originalContent = meta.content;
|
||||
meta.setAttribute("content", originalContent + ", maximum-scale=1.0");
|
||||
meta.setAttribute("content", originalContent);
|
||||
}
|
||||
window.addEventListener("resize", onResize);
|
||||
|
||||
|
||||
function makeHighlightRect({left, top, width, height}, offsetTop=0, offsetLeft=0) {
|
||||
const overlay = document.createElement('a');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user