mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +00:00
Removed unneeded resize event code that isn't needed now that NNW is using the modern UISplitViewController
This commit is contained in:
1 parent
a95194f175
commit
8b1d892dd7
1 file changed
-12
@@ -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