From 8b1d892dd717b0cb5e73e420ae6af8e09c2cb00f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 13 Apr 2023 16:24:29 -0500 Subject: [PATCH] Removed unneeded resize event code that isn't needed now that NNW is using the modern UISplitViewController --- iOS/Resources/main_ios.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/iOS/Resources/main_ios.js b/iOS/Resources/main_ios.js index 7c0e56076..3e2b594f2 100644 --- a/iOS/Resources/main_ios.js +++ b/iOS/Resources/main_ios.js @@ -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');