From f6c4bbea65b8cd12761f8a34f960559c878e8fd6 Mon Sep 17 00:00:00 2001 From: ElectroMutex <97535877+SkillfulElectro@users.noreply.github.com> Date: Thu, 16 May 2024 15:11:09 +0330 Subject: [PATCH] Update scripts.js --- scripts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts.js b/scripts.js index d4f6214..556cfaf 100644 --- a/scripts.js +++ b/scripts.js @@ -31,6 +31,7 @@ function testInternet(src) { }); } +/* window.onload = function() { var viewportWidth = window.innerWidth || document.documentElement.clientWidth; var viewportHeight = window.innerHeight || document.documentElement.clientHeight; @@ -39,7 +40,7 @@ window.onload = function() { document.body.innerHTML = "

Please rotate your device to landscape mode

"; } }); - +*/ document.getElementById('urlSelector').addEventListener('change', function() {