Skip to content

Commit

Permalink
Update scripts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SkillfulElectro committed May 16, 2024
1 parent 3d90168 commit f6c4bbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function testInternet(src) {
});
}

/*
window.onload = function() {
var viewportWidth = window.innerWidth || document.documentElement.clientWidth;
var viewportHeight = window.innerHeight || document.documentElement.clientHeight;
Expand All @@ -39,7 +40,7 @@ window.onload = function() {
document.body.innerHTML = "<p>Please rotate your device to landscape mode</p>";
}
});

*/


document.getElementById('urlSelector').addEventListener('change', function() {
Expand Down

0 comments on commit f6c4bbe

Please sign in to comment.