From 536e3a874ed96fa94eb202e8fa8a45ae288e62ba Mon Sep 17 00:00:00 2001 From: Martii Date: Sun, 4 Jan 2015 14:51:55 -0700 Subject: [PATCH] Post #503 fix * Super small viewports need approximate body padding with fixed navbars as: ``` javascript $("#footer > nav").addClass("navbar-fixed-bottom"); document.body.style.setProperty("padding-bottom", "55px", ""); ``` Since Opera Presto is definitely outdated removing fixed footer... symmetrical with other existing pages and not really worth pursuing but available if wanted. --- views/pages/scriptViewSourcePage.html | 1 - 1 file changed, 1 deletion(-) diff --git a/views/pages/scriptViewSourcePage.html b/views/pages/scriptViewSourcePage.html index 9c1c16172..e2a4a7de6 100644 --- a/views/pages/scriptViewSourcePage.html +++ b/views/pages/scriptViewSourcePage.html @@ -84,7 +84,6 @@ // Older browser JavaScript work-around for #136 if (!hasAnyCalc()) { - $("#footer > nav").addClass("navbar-fixed-bottom"); $("#editor").height(calcHeight()); $(document).on("resize", function () { $("#editor").height(calcHeight);